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
No known key found for this signature in database
GPG Key ID: 6F157CA30CF848B0
2 changed files with 5 additions and 1 deletions

View File

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

View File

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