mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 09:21:11 +00:00
Rely on mail_to
helper default name arg value (#35913)
This commit is contained in:
parent
6f34db9bb7
commit
35a06319fa
|
@ -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…
Reference in New Issue
Block a user