Merge pull request #400 from keycloakify/fix/usernameEditDisabled-usernameHidden

fix: update WithImmutablePresetUsername story parameters
This commit is contained in:
Joseph Garrone 2023-08-15 19:20:05 +02:00 committed by GitHub
commit ab370a1dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,12 @@ export const WithPresetUsername = () => (
export const WithImmutablePresetUsername = () => (
<PageStory
kcContext={{
login: { username: "max.mustermann@mail.com" },
usernameHidden: true
auth: {
attemptedUsername: "max.mustermann@mail.com",
showUsername: true
},
usernameHidden: true,
message: { type: "info", summary: "Please re-authenticate to continue" }
}}
/>
);