mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Ensure user admin works for new dual login mode
This commit is contained in:
parent
b054addb9c
commit
072ca0dfed
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="view-customize">
|
||||
{{#if (or isAuthProviderDocumize IsDualAuth)}}
|
||||
{{#if (or isAuthProviderDocumize isDualAuth)}}
|
||||
{{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Person label=constants.Label.Add onClick=(action "onOpenUserModal")}}
|
||||
<div id="add-user-modal" class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="view-customize">
|
||||
{{#if (or isAuthProviderKeycloak isDualAuth)}}
|
||||
{{#if isAuthProviderKeycloak}}
|
||||
{{ui/ui-spacer size=300}}
|
||||
{{#if syncInProgress}}
|
||||
{{ui/ui-button color=constants.Color.Gray light=true icon=constants.Icon.Locked label="Keycloak user sync running..."}}
|
||||
|
@ -8,7 +8,7 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if isAuthProviderLDAP}}
|
||||
{{#if (or isAuthProviderLDAP c)}}
|
||||
{{ui/ui-spacer size=300}}
|
||||
{{#if syncInProgress}}
|
||||
{{ui/ui-button color=constants.Color.Gray light=true icon=constants.Icon.Locked label="LDAP user sync running..."}}
|
||||
|
@ -187,7 +187,7 @@
|
|||
<label for="edit-email">Email</label>
|
||||
{{input id="edit-email" type="text" class="form-control" value=editUser.email}}
|
||||
</div>
|
||||
{{#if (or isAuthProviderDocumize IsDualAuth)}}
|
||||
{{#if (or isAuthProviderDocumize isDualAuth)}}
|
||||
<div class="form-group">
|
||||
<label for="edit-password">Password</label>
|
||||
{{input id="edit-password" type="password" class="form-control" value=password.password}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue