fix: usernameEditDisabled renamed to usernameHidden

- update KcContext definition for login.ftl
- update the username field rendering conditions in Login.tsx

Closes #397
This commit is contained in:
Pierre Rebeu
2023-08-14 15:53:05 +02:00
parent 5156b2e0cc
commit 4acf5d0931
4 changed files with 34 additions and 37 deletions

View File

@ -75,7 +75,7 @@ export const WithImmutablePresetUsername = () => (
<PageStory
kcContext={{
login: { username: "max.mustermann@mail.com" },
usernameEditDisabled: true
usernameHidden: true
}}
/>
);