Rely on mail_to helper default name arg value (#35913)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
= render_captcha
|
= 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
|
.actions
|
||||||
= form.button t('challenge.confirm'),
|
= form.button t('challenge.confirm'),
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
= f.button :button, t('auth.login'), type: :submit
|
= f.button :button, t('auth.login'), type: :submit
|
||||||
|
|
||||||
- if Setting.site_contact_email.present?
|
- 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?
|
- if webauthn_enabled?
|
||||||
.form-footer
|
.form-footer
|
||||||
|
|||||||
Reference in New Issue
Block a user