diff --git a/templates/moderator/admin_reset.html.ep b/templates/moderator/admin_reset.html.ep index a0027c3..a6260ed 100644 --- a/templates/moderator/admin_reset.html.ep +++ b/templates/moderator/admin_reset.html.ep @@ -18,5 +18,6 @@ <%= label_for password => 'Password' %> <%= password_field password => (id => 'password') %> + <%= csrf_field %> diff --git a/templates/moderator/create.html.ep b/templates/moderator/create.html.ep index 9b471a1..7ca1eeb 100644 --- a/templates/moderator/create.html.ep +++ b/templates/moderator/create.html.ep @@ -26,5 +26,6 @@ <%= label_for password => 'Password' %> <%= password_field password => (id => 'password') %> + <%= csrf_field %> diff --git a/templates/moderator/demote.html.ep b/templates/moderator/demote.html.ep index df279b4..742548e 100644 --- a/templates/moderator/demote.html.ep +++ b/templates/moderator/demote.html.ep @@ -10,5 +10,6 @@ <%= label_for email => 'Email' %> <%= email_field email => (id => 'email', autofocus => undef) %> + <%= csrf_field %> diff --git a/templates/moderator/lock_acct.html.ep b/templates/moderator/lock_acct.html.ep index c487e16..c8db1c1 100644 --- a/templates/moderator/lock_acct.html.ep +++ b/templates/moderator/lock_acct.html.ep @@ -10,5 +10,6 @@ <%= label_for email => 'Email' %> <%= email_field email => (id => 'email', autofocus => undef) %> + <%= csrf_field %> diff --git a/templates/moderator/login.html.ep b/templates/moderator/login.html.ep index 53de7e4..9e83a3a 100644 --- a/templates/moderator/login.html.ep +++ b/templates/moderator/login.html.ep @@ -12,11 +12,12 @@
Must be between <%= $error->[2] %> - and <%= $error->[3] %> characters.
+Must be atleast <%= $error->[2] %> + characters.
<% } =%> <%= label_for password => 'Password' %> <%= password_field password => (id => 'password') %>