Skip to content
Snippets Groups Projects
Commit 1955a3f4 authored by Eugen's avatar Eugen Committed by GitHub
Browse files

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

parent 8ebed7fc
No related branches found
No related tags found
No related merge requests found
...@@ -61,8 +61,9 @@ ...@@ -61,8 +61,9 @@
= surround '(', ')' do = surround '(', ')' do
= number_to_human_size @account.media_attachments.sum('file_file_size') = number_to_human_size @account.media_attachments.sum('file_file_size')
%div{ style: 'float: right' } - if @account.local?
= link_to t('admin.accounts.reset_password'), admin_account_reset_path(@account.id), method: :create, class: 'button' %div{ style: 'float: right' }
= link_to t('admin.accounts.reset_password'), admin_account_reset_path(@account.id), method: :create, class: 'button'
%div{ style: 'float: left' } %div{ style: 'float: left' }
- if @account.silenced? - if @account.silenced?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment