Unverified Commit abf1e765 authored by andreas-bulling's avatar andreas-bulling Committed by GitHub
Browse files

Update AuthenticationManager.js

userId contains the whole user object. Hence, only use _id
parent b50b0c1e
Loading
Loading
Loading
Loading
+1 −1
Changes for ldap-overleaf-sl/sharelatex/AuthenticationManager.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ const AuthenticationManager = {
            }
            db.users.update(
                {
                    _id: ObjectId(userId.toString())
                    _id: ObjectId(userId._id.toString())
                },
                {
                    $set: {