[keycloak-user] extend theme with some extra text
Shaikh Asrafali Anwarali
asrafalianwarali.shaikh at gi-de.com
Wed Nov 22 06:42:19 EST 2017
Hi,
We also have also raised similar concern, have also created JIRA task https://issues.jboss.org/browse/KEYCLOAK-5645 for the same.
Regards,
Asraf Shaikh
-----Original Message-----
From: keycloak-user-bounces at lists.jboss.org [mailto:keycloak-user-bounces at lists.jboss.org] On Behalf Of mj
Sent: Monday, November 20, 2017 12:53 AM
To: keycloak-user at lists.jboss.org
Subject: Re: [keycloak-user] extend theme with some extra text
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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list