|
|
@@ -43,11 +43,9 @@ block content
|
|
|
)
|
|
|
if error === 'password_reset_token_expired'
|
|
|
h1 #{translate("sorry_your_token_expired")}
|
|
|
- p.intro-p #{translate('please_request_a_new_password_reset_email_and_follow_the_link')}.
|
|
|
else
|
|
|
h1(data-ol-not-sent) #{translate("reset_your_password")}
|
|
|
h1(hidden data-ol-sent) #{translate("check_your_inbox")}
|
|
|
- p.intro-p(data-ol-not-sent) #{translate("enter_your_email_and_we_will_send_reset_instructions")}
|
|
|
|
|
|
div(data-ol-not-sent)
|
|
|
+formMessagesNewStyle
|
|
|
@@ -57,7 +55,14 @@ block content
|
|
|
|
|
|
div(data-ol-custom-form-message='no-password-allowed-due-to-sso' hidden)
|
|
|
+ciamErrorNotification
|
|
|
- p !{translate('you_cant_reset_password_due_to_sso', {}, [{name: 'a', attrs: {href: '/sso-login'}}])}
|
|
|
+ p !{translate('you_cant_reset_password_due_to_sso', {}, [{ name: 'a', attrs: { href: '/sso-login' } }])}
|
|
|
+
|
|
|
+ if error === 'password_reset_token_expired'
|
|
|
+ p.intro-p(data-ol-not-sent) #{translate('please_request_a_new_password_reset_email_and_follow_the_link')}.
|
|
|
+ else
|
|
|
+ p.intro-p(data-ol-not-sent) #{translate("enter_your_email_and_we_will_send_reset_instructions")}
|
|
|
+
|
|
|
+ div(data-ol-not-sent)
|
|
|
input(name='_csrf' type='hidden' value=csrfToken)
|
|
|
.form-group.form-group-ds
|
|
|
label.form-label(for='email') #{translate("email")}
|