diff options
author | Claire <claire.github-309c@sitedethib.com> | 2024-05-21 10:56:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 08:56:08 +0000 |
commit | 89f89d738f5840c80ff938f8bf6734cdafe0fa83 (patch) | |
tree | b991a471f07439a5e28d7c72b7d5bb9c3270e5c7 /app/views/admin | |
parent | eda2bdfc7abeb3f67d982ac009856489089ed7d7 (diff) |
Revert "Allow unblocking email addresses from any matching account (#29305)" (#30385)
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/accounts/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml index bcf7c073141..f148b9a0822 100644 --- a/app/views/admin/accounts/show.html.haml +++ b/app/views/admin/accounts/show.html.haml @@ -30,7 +30,7 @@ = render 'admin/accounts/counters', account: @account - if @account.local? && @account.user.nil? - = link_to t('admin.accounts.unblock_email'), unblock_email_admin_account_path(@account.id), method: :post, class: 'button' if can?(:unblock_email, @account) && CanonicalEmailBlock.matching_account(@account).exists? + = link_to t('admin.accounts.unblock_email'), unblock_email_admin_account_path(@account.id), method: :post, class: 'button' if can?(:unblock_email, @account) && CanonicalEmailBlock.exists?(reference_account_id: @account.id) - else .table-wrapper %table.table.inline-table |