mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
working on forentend
This commit is contained in:
parent
9d6b6fec23
commit
8c99977fc9
10 changed files with 130 additions and 5 deletions
|
@ -17,6 +17,7 @@ export default Mixin.create({
|
|||
isAuthProviderDocumize: true,
|
||||
isAuthProviderKeycloak: false,
|
||||
isAuthProviderLDAP: false,
|
||||
isAuthProviderCAS: false,
|
||||
isDualAuth: false,
|
||||
|
||||
init() {
|
||||
|
@ -26,7 +27,7 @@ export default Mixin.create({
|
|||
this.set('isAuthProviderDocumize', this.get('appMeta.authProvider') === constants.AuthProvider.Documize);
|
||||
this.set('isAuthProviderKeycloak', this.get('appMeta.authProvider') === constants.AuthProvider.Keycloak);
|
||||
this.set('isAuthProviderLDAP', this.get('appMeta.authProvider') === constants.AuthProvider.LDAP);
|
||||
|
||||
this.set('isAuthProviderCAS', this.get('appMeta.authProvider') == constants.AuthProvider.CAS);
|
||||
if (this.get('appMeta.authProvider') === constants.AuthProvider.LDAP) {
|
||||
let config = this.get('appMeta.authConfig');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue