Browse Source

typo

develop
Rob Colbert 2 years ago
parent
commit
4dd8d1d9c4
  1. 2
      app/services/user.js

2
app/services/user.js

@ -289,7 +289,7 @@ class UserService extends SiteService {
updateOp.$set.password = cryptoService.maskPassword(updateOp.$set.passwordSalt, userDefinition.password);
}
updateOp.$set.theme = userDefinition.theme || 'dtp-light',
updateOp.$set.theme = userDefinition.theme || 'dtp-light';
this.log.info('updating user settings', { userId: user._id });
await User.updateOne({ _id: user._id }, updateOp);

Loading…
Cancel
Save