mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 07:02:49 +00:00
Bonus, add a link to the v1 settings page to change password
This commit is contained in:
parent
27a2e06d7b
commit
0300ffbdc6
1 changed files with 7 additions and 1 deletions
|
@ -73,6 +73,7 @@ block content
|
||||||
label.control-label #{translate("last_name")}
|
label.control-label #{translate("last_name")}
|
||||||
div.form-control(readonly="true") #{user.last_name}
|
div.form-control(readonly="true") #{user.last_name}
|
||||||
|
|
||||||
|
|
||||||
if !externalAuthenticationSystemUsed()
|
if !externalAuthenticationSystemUsed()
|
||||||
.col-md-5.col-md-offset-1
|
.col-md-5.col-md-offset-1
|
||||||
h3 #{translate("change_password")}
|
h3 #{translate("change_password")}
|
||||||
|
@ -120,6 +121,11 @@ block content
|
||||||
ng-disabled="changePasswordForm.$invalid"
|
ng-disabled="changePasswordForm.$invalid"
|
||||||
) #{translate("change")}
|
) #{translate("change")}
|
||||||
|
|
||||||
|
else
|
||||||
|
if settings.overleaf && settings.createV1AccountOnLogin
|
||||||
|
p
|
||||||
|
| To change your password
|
||||||
|
| , go to #[a(href=settings.overleaf.host+'/users/edit') Overleaf v1 settings]
|
||||||
|
|
||||||
|
|
||||||
| !{moduleIncludes("userSettings", locals)}
|
| !{moduleIncludes("userSettings", locals)}
|
||||||
|
|
Loading…
Reference in a new issue