diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-06-17 20:21:44 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-06-17 20:21:44 +0300 |
commit | f245b6b7faa29b4f276527daca48c305fe9689c1 (patch) | |
tree | 01db3252bba00b5a892731e606b0bf346ff69379 /fix-download-unicode/cfs_access-point.txt | |
parent | ad87f9ff4e50e8b042735ad383c5c193e30fc9aa (diff) | |
download | wekan-f245b6b7faa29b4f276527daca48c305fe9689c1.tar.gz wekan-f245b6b7faa29b4f276527daca48c305fe9689c1.tar.bz2 wekan-f245b6b7faa29b4f276527daca48c305fe9689c1.zip |
Update users.js etc with global search replace, to try to fix selecting correct user.
Thanks to xet7 !
Diffstat (limited to 'fix-download-unicode/cfs_access-point.txt')
-rw-r--r-- | fix-download-unicode/cfs_access-point.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fix-download-unicode/cfs_access-point.txt b/fix-download-unicode/cfs_access-point.txt index de1c6c76..2e86ac4e 100644 --- a/fix-download-unicode/cfs_access-point.txt +++ b/fix-download-unicode/cfs_access-point.txt @@ -869,7 +869,7 @@ var expirationAuth = function expirationAuth() { } // 326 // 327 // We are not on a secure line - so we have to look up the user... // 328 - var user = Meteor.users.findOne({ // 329 + var user = Users.findOne({ // 329 $or: [ // 330 {'services.resume.loginTokens.hashedToken': Accounts._hashLoginToken(userToken)}, // 331 {'services.resume.loginTokens.token': userToken} // 332 |