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

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-08-27 13:05:13 +00:00
1 parent 6f34db9bb7
commit 35a06319fa
2 files changed
+2 -2

No files matched your search

@@ -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