aboutsummaryrefslogtreecommitdiff
path: root/src/views/login-page.ecr
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/login-page.ecr')
-rw-r--r--src/views/login-page.ecr6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/login-page.ecr b/src/views/login-page.ecr
index 9f2082a..e0404ce 100644
--- a/src/views/login-page.ecr
+++ b/src/views/login-page.ecr
@@ -75,6 +75,12 @@
Log In
</button>
</div><!-- form-group -->
+
+ <input
+ type='hidden'
+ name='csrf_token'
+ value='<%= h(get_csrf_token) %>'
+ />
</form>
</div><!-- panel-body -->
</div><!-- panel -->