Improve stories
This commit is contained in:
parent
1abc5a5643
commit
526dbcc0e7
@ -21,10 +21,6 @@ export const WithInvalidCredential: Story = {
|
||||
render: () => (
|
||||
<KcPageStory
|
||||
kcContext={{
|
||||
message: {
|
||||
summary: "Invalid username or password.",
|
||||
type: "error"
|
||||
},
|
||||
login: {
|
||||
username: "johndoe"
|
||||
},
|
||||
|
@ -121,3 +121,15 @@ export const WithPresets: Story = {
|
||||
/>
|
||||
)
|
||||
};
|
||||
|
||||
export const WithPasswordMinLength8: Story = {
|
||||
render: () => (
|
||||
<KcPageStory
|
||||
kcContext={{
|
||||
passwordPolicies: {
|
||||
length: 8
|
||||
}
|
||||
}}
|
||||
/>
|
||||
)
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user