No link for user creation when ichain is enabled
This commit is contained in:
parent
f08d07dc5d
commit
9f9193fe32
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
- if @users
|
||||
= "(#{@users.length})"
|
||||
|
||||
= link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right'
|
||||
= link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right' unless CONFIG['authentication']['ichain']['enabled']
|
||||
%table.table.table-striped.table-bordered.table-hover#users-datatable
|
||||
%thead
|
||||
%th ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue