debian-mirror-gitlab/app/views/devise/mailer/unlock_instructions.html.haml
2021-04-29 21:17:54 +05:30

6 lines
445 B
Text

#content
= email_default_heading(_("Hello, %{name}!") % { name: @resource.name })
%p
= _("Your GitLab account has been locked due to an excessive amount of unsuccessful sign in attempts. Your account will automatically unlock in %{duration} or you may click the link below to unlock now.") % { duration: distance_of_time_in_words(Devise.unlock_in) }
#cta
= link_to(_('Unlock account'), unlock_url(@resource, unlock_token: @token))