about summary refs log tree commit diff
path: root/app/views/auth/confirmations
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-24 20:32:31 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-01-24 20:32:31 +0100
commit3074338d79e5e9eb056d810c234e57f14c04c5f9 (patch)
tree3cda43f51dbf40ed742beeac0090b3be08e47c90 /app/views/auth/confirmations
parent368d6fe54f94ad2ecd2a1c1e7e5a2359dc37ad30 (diff)
parenta5a00d7f7adff5e0afbd23ac1e1b16120137509a (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/auth/confirmations')
-rw-r--r--app/views/auth/confirmations/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml
index a294d3cb5..a98257873 100644
--- a/app/views/auth/confirmations/new.html.haml
+++ b/app/views/auth/confirmations/new.html.haml
@@ -5,7 +5,7 @@
   = render 'shared/error_messages', object: resource
 
   .fields-group
-    = f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.email'), input_html: { 'aria-label': t('simple_form.labels.defaults.email') }, hint: false
+    = f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.email'), input_html: { 'aria-label': t('simple_form.labels.defaults.email') }, readonly: current_user.present?, hint: current_user.present? && t('auth.confirmations.wrong_email_hint')
 
   .actions
     = f.button :button, t('auth.resend_confirmation'), type: :submit