mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:54:33 +00:00
resend switch
This commit is contained in:
@@ -84,8 +84,8 @@ type resendVerifyEmailCommand = {
|
|||||||
|
|
||||||
export async function resendVerification(command: resendVerifyEmailCommand) {
|
export async function resendVerification(command: resendVerifyEmailCommand) {
|
||||||
return command.isInvite
|
return command.isInvite
|
||||||
? resendEmailCode(command.userId)
|
? resendInviteCode(command.userId)
|
||||||
: resendInviteCode(command.userId);
|
: resendEmailCode(command.userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function sendVerificationRedirectWithoutCheck(command: {
|
export async function sendVerificationRedirectWithoutCheck(command: {
|
||||||
|
|||||||
Reference in New Issue
Block a user