Do not display "reset password" in admin UI for remote accounts (#1960)

th-downstream
Eugen 8 years ago committed by GitHub
parent 6e801f4030
commit b93456be44

@ -61,6 +61,7 @@
= surround '(', ')' do
= number_to_human_size @account.media_attachments.sum('file_file_size')
- if @account.local?
%div{ style: 'float: right' }
= link_to t('admin.accounts.reset_password'), admin_account_reset_path(@account.id), method: :create, class: 'button'

Loading…
Cancel
Save