]> cat aescling's git repositories - mastodon.git/commitdiff
Hide misleading “You will be sent a confirmation e-mail” hint from admin view (#9973)
authorThibG <thib@sitedethib.com>
Tue, 5 Feb 2019 14:11:35 +0000 (15:11 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 5 Feb 2019 14:11:35 +0000 (15:11 +0100)
Thanks @wryk for noticing this issue.

app/views/admin/change_emails/show.html.haml

index 6febef9b1a811abdd045cf22b50cdaf6ded699d9..6ff0d785ed21c9a93512ad6379b79c9dd5d25d87 100644 (file)
@@ -3,7 +3,7 @@
 
 = simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
   .fields-group
-    = f.input :email, wrapper: :with_label, disabled: true, label: t('admin.accounts.change_email.current_email')
+    = f.input :email, wrapper: :with_label, hint: false, disabled: true, label: t('admin.accounts.change_email.current_email')
 
   .fields-group
     = f.input :unconfirmed_email, wrapper: :with_label, label: t('admin.accounts.change_email.new_email')