mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Added more POST declarations
This commit is contained in:
parent
fd28751db0
commit
9d71073a5c
3 changed files with 5 additions and 3 deletions
|
@ -13,6 +13,7 @@ block content
|
||||||
async-form="password-reset-request",
|
async-form="password-reset-request",
|
||||||
name="passwordResetForm"
|
name="passwordResetForm"
|
||||||
action="/user/password/reset",
|
action="/user/password/reset",
|
||||||
|
method="POST",
|
||||||
ng-cloak
|
ng-cloak
|
||||||
)
|
)
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
|
|
|
@ -12,6 +12,7 @@ block content
|
||||||
async-form="password-reset",
|
async-form="password-reset",
|
||||||
name="passwordResetForm",
|
name="passwordResetForm",
|
||||||
action="/user/password/set",
|
action="/user/password/set",
|
||||||
|
method="POST",
|
||||||
ng-cloak
|
ng-cloak
|
||||||
)
|
)
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
|
|
|
@ -17,7 +17,7 @@ block content
|
||||||
.row
|
.row
|
||||||
.col-md-5
|
.col-md-5
|
||||||
h3 #{translate("update_account_info")}
|
h3 #{translate("update_account_info")}
|
||||||
form(async-form="settings", name="settingsForm", action="/user/settings", novalidate)
|
form(async-form="settings", name="settingsForm", method="POST", action="/user/settings", novalidate)
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
.form-group
|
.form-group
|
||||||
label(for='email') #{translate("email")}
|
label(for='email') #{translate("email")}
|
||||||
|
@ -54,7 +54,7 @@ block content
|
||||||
|
|
||||||
.col-md-5.col-md-offset-1
|
.col-md-5.col-md-offset-1
|
||||||
h3 #{translate("change_password")}
|
h3 #{translate("change_password")}
|
||||||
form(async-form="changepassword", name="changePasswordForm", action="/user/password/update", novalidate)
|
form(async-form="changepassword", name="changePasswordForm", action="/user/password/update", method="POST", novalidate)
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
.form-group
|
.form-group
|
||||||
label(for='currentPassword') #{translate("current_password")}
|
label(for='currentPassword') #{translate("current_password")}
|
||||||
|
|
Loading…
Reference in a new issue