mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix: Error after sending invitation and joining board:
Exception while invoking method 'login' TypeError: Cannot read property 'loginDisabled' of undefined. Thanks to nztqa ! Closes #1331
This commit is contained in:
parent
eceaac7998
commit
62e43c0832
2 changed files with 5 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
|||
Meteor.startup(() => {
|
||||
|
||||
Accounts.validateLoginAttempt(function (options) {
|
||||
return !options.user.loginDisabled;
|
||||
const user = options.user || {};
|
||||
return !user.loginDisabled;
|
||||
});
|
||||
|
||||
Authentication = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue