mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +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
|
|
@ -124,7 +124,7 @@ Meteor.methods({
|
|||
ATResendVerificationEmail: function (email) {
|
||||
check(email, String);
|
||||
|
||||
var user = Meteor.users.findOne({ "emails.address": email });
|
||||
var user = Users.findOne({ "emails.address": email });
|
||||
|
||||
// Send the standard error back to the client if no user exist with this e-mail
|
||||
if (!user) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue