Hi,
For the archives, we have edited these two files:
keycloak/themes/base/login/login-update-password.ftl
keycloak/themes/base/account/password.ftl
And included the text:
<p>Please note our password requirements:</p>
<ul>
<li style="color:red;">minimum eight characters total</li>
<li style="color:red;">minimum one UPPER case character</li>
<li style="color:red;">minimum one lower case character</li>
<li style="color:red;">minimum one digit</li>
<li style="color:red;">minimum one 'special' symbol, like - _ *
!</li>
<p>plus:</p>
<li style="color:red;">It cannot contain
"password"</li>
<li style="color:red;">It cannot contain your username</li>
<li style="color:red;">Your last ten (10) passwords cannot be
re-used</li>
</ul>
Perhaps this info saves someone else some time.
MJ
On 11/19/2017 04:29 PM, mj wrote:
Hi,
We are trying to display some extra static text to the two pages where a
password can be changed:
- the login theme (sunrise)
- the account theme (address)
We're trying to add text, to inform the users of *all* configured
password requirements at once. Something like:
> Kindly be advised to use:
> - min. 8 characters
> - min. one lower case
> - min. one upper case
> - min. one special character
In the current situation during a password change, the user initially is
not informed about the minimum requirements, and 'learns' a new
requirement on each password rejection.
We know that this should be possible by editing the (in our case) themes
"sunrise" and "address". But could someone point out where and how
we
can add some new extra text to these pages?
MJ
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user