mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 18:54:22 +01:00
Revert users changes that were made at Wekan v4.16.
Thanks to xet7 !
This commit is contained in:
parent
0ff1e63a5d
commit
5eb3784527
11 changed files with 26 additions and 26 deletions
|
|
@ -804,7 +804,7 @@ If, differently, you do something like this:
|
|||
if (Meteor.isServer){
|
||||
Meteor.methods({
|
||||
"userExists": function(username){
|
||||
return !!Users.findOne({username: username});
|
||||
return !!Meteor.users.findOne({username: username});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue