about summary refs log tree commit diff
path: root/app/views/user_mailer/suspicious_sign_in.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user_mailer/suspicious_sign_in.text.erb')
-rw-r--r--app/views/user_mailer/suspicious_sign_in.text.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/user_mailer/suspicious_sign_in.text.erb b/app/views/user_mailer/suspicious_sign_in.text.erb
new file mode 100644
index 000000000..7d2ca28e8
--- /dev/null
+++ b/app/views/user_mailer/suspicious_sign_in.text.erb
@@ -0,0 +1,15 @@
+<%= t 'user_mailer.suspicious_sign_in.title' %>
+
+===
+
+<%= t 'user_mailer.suspicious_sign_in.explanation' %>
+
+<%= t 'user_mailer.suspicious_sign_in.details' %>
+
+<%= t('sessions.ip') %>: <%= @remote_ip %>
+<%= t('sessions.browser') %>: <%= t('sessions.description', browser: t("sessions.browsers.#{@detection.id}", default: "#{@detection.id}"), platform: t("sessions.platforms.#{@detection.platform.id}", default: "#{@detection.platform.id}")) %>
+<%= l(@timestamp) %>
+
+<%= t 'user_mailer.suspicious_sign_in.further_actions_html', action: t('user_mailer.suspicious_sign_in.change_password') %>
+
+=> <%= edit_user_registration_url %>