mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 22:31:12 +00:00
avoid exception in logging null user
This commit is contained in:
parent
238e07ddde
commit
bb06b97b3c
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ module.exports = UserController =
|
|||
type:'success'
|
||||
text:'Your password has been changed'
|
||||
else
|
||||
logger.log user: user, "current password wrong"
|
||||
logger.log user_id: user_id, "current password wrong"
|
||||
res.send
|
||||
message:
|
||||
type:'error'
|
||||
|
|
Loading…
Reference in a new issue