mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 14:20:22 +08:00
Stop printing default password in logs
This commit is contained in:
parent
c3a4223bbf
commit
35abf9a6bc
@ -24,11 +24,6 @@ class DefaultUserService extends BaseService {
|
||||
const require = this.require;
|
||||
const tmp_password = await this.get_tmp_password_(user);
|
||||
const bcrypt = require('bcrypt');
|
||||
console.log(
|
||||
'VALUES',
|
||||
tmp_password,
|
||||
user.password,
|
||||
);
|
||||
const is_default_password = await bcrypt.compare(
|
||||
tmp_password,
|
||||
user.password
|
||||
|
Loading…
Reference in New Issue
Block a user