Browse Source

remove password from log write

develop
Rob Colbert 2 years ago
parent
commit
953af89068
  1. 2
      app/services/user.js

2
app/services/user.js

@ -349,7 +349,7 @@ class UserService extends SiteService {
async handleLocalLogin (username, password, done) {
const now = new Date();
this.log.info('handleLocalLogin', { username, password });
this.log.info('handleLocalLogin', { username });
try {
const user = await this.authenticate({ username, password }, { adminRequired: false });
await this.startUserSession(user, now);

Loading…
Cancel
Save