Rely on `mail_to` helper default name arg value (#35913)

pull/35945/head
Matt Jankowski 3 months ago committed by GitHub
parent 6f34db9bb7
commit 35a06319fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -14,7 +14,7 @@
= render_captcha
%p.lead= t('auth.captcha_confirmation.help_html', email: mail_to(Setting.site_contact_email, nil))
%p.lead= t('auth.captcha_confirmation.help_html', email: mail_to(Setting.site_contact_email))
.actions
= form.button t('challenge.confirm'),

@ -16,7 +16,7 @@
= f.button :button, t('auth.login'), type: :submit
- if Setting.site_contact_email.present?
%p.hint.subtle-hint= t('users.otp_lost_help_html', email: mail_to(Setting.site_contact_email, nil))
%p.hint.subtle-hint= t('users.otp_lost_help_html', email: mail_to(Setting.site_contact_email))
- if webauthn_enabled?
.form-footer

Loading…
Cancel
Save