Skip to content

Commit 07b181c

Browse files
Merge pull request #581 from IABTechLab/ans-UID2-4426-update-password-changes
Changes to update password page to explain password change
2 parents 689edd7 + 3670bc7 commit 07b181c

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

keycloak/themes/uid2-theme/login/login-update-password.ftl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
<input type="text" id="username" name="username" value="${username}" autocomplete="username"
88
readonly="readonly" style="display:none;"/>
99
<input type="password" id="password" name="password" autocomplete="current-password" style="display:none;"/>
10-
10+
<div id="password-policy"> ${msg("passwordPolicy")}</div>
11+
<div id="set-password"> ${msg("setPassword")}</div>
12+
<ul id="password-requirements">
13+
<li>${msg("passwordMinLength")}</li>
14+
<li>${msg("passwordNoEmail")}</li>
15+
<li>${msg("passwordNoPrevious")}</li>
16+
</ul>
1117
<div class="${properties.kcFormGroupClass!}">
1218
<div class="${properties.kcLabelWrapperClass!}">
1319
<label for="password-new" class="${properties.kcLabelClass!}">${msg("passwordNew")}</label>

keycloak/themes/uid2-theme/login/messages/messages_en.properties

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ errorPatternNoMatch=We’re sorry, but we only accept sign-ups from company emai
1313
forgotPasswordInfo=Enter your email address and we’ll send a link to reset your password.
1414
doSendLink=Request Password Reset
1515
emailForgotTitle=Forgot Password
16-
updatePasswordTitle=Update Password
16+
updatePasswordTitle=Set Password
1717
doUpdatePassword=Save Password
18+
passwordConfirm=Confirm Password
1819
verifyEmailMessage=To activate your account, verify your email address.
1920
emailVerifyInstruction2=Haven’t received the verification email?
2021
confirmExecutionOfActions=Please do the following:
2122
proceedWithAction=Continue
2223
accountUpdatedMessage=Your account has been approved
23-
accountUpdatedInstruction=You can now log in to the UID2 Portal.
24+
accountUpdatedInstruction=You can now log in to the UID2 Portal.
25+
passwordPolicy=Our password requirements have changed.
26+
setPassword=Please set or update your password to match the following criteria.
27+
passwordMinLength=Must be at least 8 characters.
28+
passwordNoEmail=Cannot match your email address.
29+
passwordNoPrevious=Cannot be a password you’ve used before on the UID2 Portal.

keycloak/themes/uid2-theme/login/resources/css/login.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,4 +325,22 @@ div.kc-logo-text {
325325
color: gray !important;
326326
}
327327

328+
#password-policy {
329+
color: #000;
330+
font-size: 14px;
331+
line-height: 22px;
332+
}
333+
334+
#set-password {
335+
color: #000;
336+
font-size: 14px;
337+
line-height: 22px;
338+
margin-bottom: 5px;
339+
}
340+
341+
#password-requirements {
342+
margin-left: 20px;
343+
list-style-type: disc;
344+
}
345+
328346
/* End Recovery codes */

0 commit comments

Comments
 (0)