Verified Commit 6e78f9ec authored by Thomas Citharel's avatar Thomas Citharel 🌲

Change mailto to allow using https://contact.framasoft.org correctly

Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent 611a67a4
......@@ -40,7 +40,7 @@
= succeed ':' do
= t 'about.contact'
%br/
= mail_to @instance_presenter.site_contact_email, nil, title: @instance_presenter.site_contact_email
= link_to @instance_presenter.site_contact_email, @instance_presenter.site_contact_email
.column-3
.box-widget
......
......@@ -11,4 +11,4 @@
= 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: link_to(Setting.site_contact_email, Setting.site_contact_email))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment