summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-20 21:59:17 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-20 21:59:17 +0200
commitaad2a53459860539dde463e7952636c7ddd3a629 (patch)
tree376d036fc07285989af79c32e9d0c969f2b4c254 /templates
parentaabf3104b12b0182a25c70d0807b9d525a548551 (diff)
attempt to prevent registration spam1.19.11
Diffstat (limited to 'templates')
-rw-r--r--templates/register.html.ep1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/register.html.ep b/templates/register.html.ep
index 1983e92..c27b591 100644
--- a/templates/register.html.ep
+++ b/templates/register.html.ep
@@ -3,6 +3,7 @@
% }
%= form_for '/register' => (method => 'POST') => begin
%= csrf_field
+ %= hidden_field dt => DateTime->now(time_zone => 'Europe/Berlin')->epoch
<div class="row">
<div class="input-field col l6 m12 s12">
<i class="material-icons prefix">account_circle</i>