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

This commit is contained in:
Matt Jankowski 2025-08-27 09:05:13 -04:00 committed by GitHub
parent 6f34db9bb7
commit 35a06319fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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'),

View File

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