mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
8766c23abb
[views] mitigate Angular XSS in email confirmation post gateway GitOrigin-RevId: 11cd752d520054e448b3eeea431fe27f3c02fa00
28 lines
929 B
Text
28 lines
929 B
Text
extends ../layout
|
|
|
|
block content
|
|
main.content.content-alt
|
|
.container
|
|
.row
|
|
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
|
.card
|
|
.page-header
|
|
h1 #{translate("confirm_email")}
|
|
form(
|
|
async-form="confirm-email",
|
|
name="confirmEmailForm"
|
|
action="/user/emails/confirm",
|
|
method="POST",
|
|
id="confirmEmailForm",
|
|
auto-submit="true",
|
|
ng-cloak
|
|
)
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
input(type="hidden", name="token", value=token ng-non-bindable)
|
|
form-messages(for="confirmEmailForm")
|
|
.alert.alert-success(ng-show="confirmEmailForm.response.success")
|
|
| Thank you, your email is now confirmed
|
|
p.text-center(ng-show="!confirmEmailForm.response.success && !confirmEmailForm.response.error")
|
|
i.fa.fa-fw.fa-spin.fa-spinner(aria-hidden="true")
|
|
|
|
|
| Confirming your email…
|