mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Change Login and Register methods to use POST rather than GET
This commit is contained in:
parent
3d25018aa1
commit
fd28751db0
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue