fix: add url to login reset password page

fix: add  to login reset password page

fix: add urls to kc context mocks
This commit is contained in:
Alan Matias
2023-03-27 14:47:32 -03:00
parent 724953d5b7
commit bef21e1cb9
2 changed files with 5 additions and 1 deletions

View File

@ -183,6 +183,9 @@ export declare namespace KcContext {
realm: { realm: {
loginWithEmailAllowed: boolean; loginWithEmailAllowed: boolean;
}; };
url: {
loginResetCredentialsUrl: string;
}
}; };
export type LoginVerifyEmail = Common & { export type LoginVerifyEmail = Common & {

View File

@ -329,7 +329,8 @@ export const kcContextMocks: KcContext[] = [
"realm": { "realm": {
...kcContextCommonMock.realm, ...kcContextCommonMock.realm,
"loginWithEmailAllowed": false "loginWithEmailAllowed": false
} },
url: loginUrl
}), }),
id<KcContext.LoginVerifyEmail>({ id<KcContext.LoginVerifyEmail>({
...kcContextCommonMock, ...kcContextCommonMock,