Change Login and Register methods to use POST rather than GET

This commit is contained in:
Ingolf Becker 2014-11-17 14:55:28 +00:00
parent 3d25018aa1
commit fd28751db0
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ block content
.card
.page-header
h1 #{translate("log_in")}
form(async-form="login", name="loginForm", action='/login', ng-cloak)
form(async-form="login", name="loginForm", action='/login', method="POST", ng-cloak)
input(name='_csrf', type='hidden', value=csrfToken)
input(name='redir', type='hidden', value=redir)
form-messages(for="loginForm")

View file

@ -19,7 +19,7 @@ block content
.card
.page-header
h1 #{translate("register")}
form(async-form="register", name="registerForm", action="/register", ng-cloak)
form(async-form="register", name="registerForm", action="/register", method="POST", ng-cloak)
input(name='_csrf', type='hidden', value=csrfToken)
input(name='redir', type='hidden', value=redir)
form-messages(for="registerForm")