summaryrefslogtreecommitdiff
path: root/app/views/devise/mailer/unlock_instructions.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/mailer/unlock_instructions.html.haml')
-rw-r--r--app/views/devise/mailer/unlock_instructions.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/devise/mailer/unlock_instructions.html.haml b/app/views/devise/mailer/unlock_instructions.html.haml
new file mode 100644
index 00000000000..52b327e20c5
--- /dev/null
+++ b/app/views/devise/mailer/unlock_instructions.html.haml
@@ -0,0 +1,10 @@
+%p
+Hello #{@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
+ = time_ago_in_words(Devise.unlock_in.from_now)
+ or you may click the link below to unlock now.
+
+%p= link_to 'Unlock your account', unlock_url(@resource, unlock_token: @token)