mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Update users.js etc with global search replace, to try to fix selecting correct user.
Thanks to xet7 !
This commit is contained in:
parent
ad87f9ff4e
commit
f245b6b7fa
12 changed files with 26 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue