mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 11:45:26 +02:00
Update AuthenticationManager.js
userId contains the whole user object. Hence, only use _id
This commit is contained in:
parent
b50b0c1e91
commit
abf1e76555
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ const AuthenticationManager = {
|
|||
}
|
||||
db.users.update(
|
||||
{
|
||||
_id: ObjectId(userId.toString())
|
||||
_id: ObjectId(userId._id.toString())
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
|
|
Loading…
Add table
Reference in a new issue