mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
Merge branch 'auth-with-cas' of github.com:dereknex/community into auth-with-cas
This commit is contained in:
commit
15e687841f
39 changed files with 2462 additions and 1631 deletions
|
@ -10,10 +10,8 @@
|
|||
// https://documize.com
|
||||
|
||||
import { isPresent } from '@ember/utils';
|
||||
|
||||
import { reject, resolve } from 'rsvp';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
import Base from 'ember-simple-auth/authenticators/base';
|
||||
import netUtil from "../utils/net";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{layout/logo-heading
|
||||
title="Authentication"
|
||||
desc="Choose user authentication provider — Documize, Redhat Keycloak, LDAP/AD, CAS"
|
||||
desc="Choose user authentication provider — Documize, Redhat Keycloak, LDAP/AD, Central Authentication Server"
|
||||
icon=constants.Icon.Locked}}
|
||||
|
||||
{{customize/auth-settings
|
||||
|
|
|
@ -18,14 +18,14 @@
|
|||
</li>
|
||||
<li class="option {{if isLDAPProvider "selected"}}" {{action "onLDAP"}}>
|
||||
<div class="text-header">LDAP</div>
|
||||
<div class="text">Connect to LDAP/ Active Directory</div>
|
||||
<div class="text">Connect to LDAP/Active Directory</div>
|
||||
{{#if isLDAPProvider}}
|
||||
<i class="dicon {{constants.Icon.Tick}}" />
|
||||
{{/if}}
|
||||
</li>
|
||||
<li class="option {{if isCASProvider "selected"}}" {{action "onCAS"}}>
|
||||
<div class="text-header">CAS</div>
|
||||
<div class="text">Via authentication server</div>
|
||||
<div class="text">Via Central Authentication Server</div>
|
||||
{{#if isCASProvider}}
|
||||
<i class="dicon {{constants.Icon.Tick}}" />
|
||||
{{/if}}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (or isAuthProviderLDAP c)}}
|
||||
{{#if (or isAuthProviderLDAP isDualAuth)}}
|
||||
<Ui::UiSpacer @size="300" />
|
||||
{{#if syncInProgress}}
|
||||
{{ui/ui-button color=constants.Color.Gray light=true icon=constants.Icon.Locked label="LDAP user sync running..."}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue