mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
Bonus, add a link to the v1 settings page to change password
This commit is contained in:
@@ -73,6 +73,7 @@ block content
|
||||
label.control-label #{translate("last_name")}
|
||||
div.form-control(readonly="true") #{user.last_name}
|
||||
|
||||
|
||||
if !externalAuthenticationSystemUsed()
|
||||
.col-md-5.col-md-offset-1
|
||||
h3 #{translate("change_password")}
|
||||
@@ -120,7 +121,12 @@ block content
|
||||
ng-disabled="changePasswordForm.$invalid"
|
||||
) #{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)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user