debian-mirror-gitlab/app/views/devise/mailer/unlock_instructions.html.haml

9 lines
622 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
#content
2021-04-29 21:17:54 +05:30
= email_default_heading(_("Hello, %{name}!") % { name: @resource.name })
2017-09-10 17:25:29 +05:30
%p
2021-11-11 11:23:49 +05:30
= _("Your GitLab account has been locked due to an excessive number of unsuccessful sign in attempts. You can wait for your account to automatically unlock in %{duration} or you can click the link below to unlock now.") % { duration: distance_of_time_in_words(Devise.unlock_in) }
2017-09-10 17:25:29 +05:30
#cta
2021-04-29 21:17:54 +05:30
= link_to(_('Unlock account'), unlock_url(@resource, unlock_token: @token))
2021-11-11 11:23:49 +05:30
%p
= _('If you did not initiate these sign-in attempts, please reach out to your administrator or enable two-factor authentication (2FA) on your account.')