Merge pull request #3738 from overleaf/jpa-fix-xss-registration

[misc] fix angular xss on user registration page

GitOrigin-RevId: 5dcc2aa0212371f154fba563d21018379292b9fe
This commit is contained in:
Thomas 2021-03-08 15:53:01 +01:00 committed by Copybot
parent 695561aa01
commit 99834f0d7e

View file

@ -14,7 +14,7 @@ block content
| #{translate("if_you_are_registered")},
a(href="/login") #{translate("login_here")}
else if newTemplateData.templateName !== undefined
h1 #{translate("register_to_edit_template", {templateName:newTemplateData.templateName})}
h1(ng-non-bindable) #{translate("register_to_edit_template", {templateName:newTemplateData.templateName})}
div #{translate("already_have_sl_account")}
a(href="/login") #{translate("login_here")}