mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
Support dual login via LDAP and forms authentication
Closes #256 as we now support dual login -- LDAP and forms authentication. Also bumped the vendored library to LDAP.v3 as it contains bug fixes.
This commit is contained in:
parent
faf9a555d2
commit
b054addb9c
42 changed files with 977 additions and 582 deletions
|
@ -113,6 +113,7 @@ export default Component.extend(ModalMixin, Notifier, {
|
|||
ldapConfig = JSON.parse(ldapConfig);
|
||||
ldapConfig.defaultPermissionAddSpace = ldapConfig.hasOwnProperty('defaultPermissionAddSpace') ? ldapConfig.defaultPermissionAddSpace : false;
|
||||
ldapConfig.disableLogout = ldapConfig.hasOwnProperty('disableLogout') ? ldapConfig.disableLogout : true;
|
||||
ldapConfig.allowFormsAuth = ldapConfig.hasOwnProperty('allowFormsAuth') ? ldapConfig.allowFormsAuth : false;
|
||||
}
|
||||
|
||||
this.set('ldapConfig', ldapConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue