lukin / keywind

Keywind is a component-based Keycloak Login Theme built with Tailwind CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid password message doesn't display

LEXUGE opened this issue · comments

Hi, I really like the keywind theme after all. However, there is a minor issue that it doesn't display "Invalid password: minimum length 10." correctly on registration.

I am not sure how to patch it.

Hi!

This is due to this line (can be fixed by removing it): https://github.com/lukin/keywind/blob/master/theme/keywind/login/register.ftl#L67.

<@inputPrimary.kw
    autocomplete="new-password"
    invalid=["password", "password-confirm"]
    message=false                             -> disable messages for this field
    name="password"
    type="password"
>
    ${msg("password")}
</@inputPrimary.kw>

I will open a pull request 😉