More sensible mock date for UpdateEmail
This commit is contained in:
parent
e00ab03c19
commit
6a487b11ce
@ -473,8 +473,10 @@ export const kcContextMocks = [
|
|||||||
...kcContextCommonMock,
|
...kcContextCommonMock,
|
||||||
"pageId": "update-email.ftl",
|
"pageId": "update-email.ftl",
|
||||||
"profile": {
|
"profile": {
|
||||||
attributes,
|
"attributes": attributes.filter(attribute => attribute.name === "email"),
|
||||||
attributesByName
|
"attributesByName": Object.fromEntries(
|
||||||
|
attributes.filter(attribute => attribute.name === "email").map(attribute => [attribute.name, attribute])
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
id<KcContext.SelectAuthenticator>({
|
id<KcContext.SelectAuthenticator>({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user