mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
Improve CAS documentation
This commit is contained in:
parent
c35eb16fc5
commit
96e5812fc0
2 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@ export default Mixin.create({
|
||||||
this.set('isAuthProviderKeycloak', this.get('appMeta.authProvider') === constants.AuthProvider.Keycloak);
|
this.set('isAuthProviderKeycloak', this.get('appMeta.authProvider') === constants.AuthProvider.Keycloak);
|
||||||
this.set('isAuthProviderLDAP', this.get('appMeta.authProvider') === constants.AuthProvider.LDAP);
|
this.set('isAuthProviderLDAP', this.get('appMeta.authProvider') === constants.AuthProvider.LDAP);
|
||||||
this.set('isAuthProviderCAS', this.get('appMeta.authProvider') == constants.AuthProvider.CAS);
|
this.set('isAuthProviderCAS', this.get('appMeta.authProvider') == constants.AuthProvider.CAS);
|
||||||
|
|
||||||
if (this.get('appMeta.authProvider') === constants.AuthProvider.LDAP) {
|
if (this.get('appMeta.authProvider') === constants.AuthProvider.LDAP) {
|
||||||
let config = this.get('appMeta.authConfig');
|
let config = this.get('appMeta.authConfig');
|
||||||
|
|
||||||
|
|
|
@ -181,9 +181,9 @@
|
||||||
<small class="form-text text-muted">e.g. http://localhost:8888/auth</small>
|
<small class="form-text text-muted">e.g. http://localhost:8888/auth</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="cas-redirect-url">Redirect URL</label>
|
<label for="cas-redirect-url">Documize CAS URL</label>
|
||||||
{{focus-input id="cas-redirect-url" type="text" value=casConfig.redirectUrl class=(if casErrorRedirectUrl "form-control is-invalid" "form-control")}}
|
{{focus-input id="cas-redirect-url" type="text" value=casConfig.redirectUrl class=(if casErrorRedirectUrl "form-control is-invalid" "form-control")}}
|
||||||
<small class="form-text text-muted">e.g. http://localhost:8888/</small>
|
<small class="form-text text-muted">e.g. http://<Documize URL>/auth/cas</small>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Locked label=constants.Label.Activate onClick=(action "onSave")}}
|
{{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Locked label=constants.Label.Activate onClick=(action "onSave")}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue