Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorSteffen van Bergerem <svbergerem@online.de>2016-09-03 01:11:28 +0300
committerDennis Schubert <mail@dennis-schubert.de>2016-09-04 04:26:42 +0300
commitc3de77e0fc2e53b01458de390218d7dcddf8835f (patch)
tree90930c7f42d31cbbc5e26c3835db06ffc3fcf8fe /app/views
parent6ad9000f8c16f6758c39b59412a4b6978910d690 (diff)
Send notification mails on CSRF fails
closes #7050
Diffstat (limited to 'app/views')
-rw-r--r--app/views/notifier/csrf_token_fail.markerb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/notifier/csrf_token_fail.markerb b/app/views/notifier/csrf_token_fail.markerb
new file mode 100644
index 000000000..22f3164ea
--- /dev/null
+++ b/app/views/notifier/csrf_token_fail.markerb
@@ -0,0 +1 @@
+<%= t("notifier.csrf_token_fail.body", name: @notification.recipient_first_name, link: "https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)") %>