Merge pull request #279 from bralandealmeida/fix/add-url-to-login-reset-password

Fix: add  to login reset password page
This commit is contained in:
Joseph Garrone
2023-03-27 21:01:43 +02:00
committed by GitHub
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,