summaryrefslogtreecommitdiff
path: root/app/views/devise/mailer/unlock_instructions.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/mailer/unlock_instructions.text.erb')
-rw-r--r--app/views/devise/mailer/unlock_instructions.text.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/devise/mailer/unlock_instructions.text.erb b/app/views/devise/mailer/unlock_instructions.text.erb
new file mode 100644
index 00000000000..3aea3e20145
--- /dev/null
+++ b/app/views/devise/mailer/unlock_instructions.text.erb
@@ -0,0 +1,7 @@
+Hello, <%= @resource.name %>!
+
+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.
+
+<%= unlock_url(@resource, unlock_token: @token) %>