mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 16:30:13 +01:00
- Fix Reference error.
Thanks to Akuket !
This commit is contained in:
parent
4b7d47465a
commit
2a5a428bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -521,7 +521,7 @@ if (Meteor.isServer) {
|
||||||
|
|
||||||
const disableRegistration = Settings.findOne().disableRegistration;
|
const disableRegistration = Settings.findOne().disableRegistration;
|
||||||
// If this is the first Authentication by the ldap and self registration disabled
|
// If this is the first Authentication by the ldap and self registration disabled
|
||||||
if (disableRegistration && options.ldap) {
|
if (disableRegistration && options && options.ldap) {
|
||||||
user.authenticationMethod = 'ldap';
|
user.authenticationMethod = 'ldap';
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue