From 7f954afab798e06a9acfde22ff8e61e8d9907ec3 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Mon, 24 Mar 2025 16:10:47 +0100 Subject: [PATCH] fix(console): pass verification code for phone verification (#9616) # Which Problems Are Solved While testing totally unrelated issues, I noticed that the phone verification in Console didn't work anymore. # How the Problems Are Solved Pass the verification `code` entered by the user to the API. # Additional Changes None # Additional Context probably relates to https://github.com/zitadel/zitadel/pull/9312 (cherry picked from commit 54e513f312eb6364b1db4d79063bfe08e7bea279) --- console/src/app/services/new-auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/app/services/new-auth.service.ts b/console/src/app/services/new-auth.service.ts index 34b12bb90f..9a3e2365cd 100644 --- a/console/src/app/services/new-auth.service.ts +++ b/console/src/app/services/new-auth.service.ts @@ -18,7 +18,7 @@ export class NewAuthService { } public verifyMyPhone(code: string): Promise { - return this.grpcService.authNew.verifyMyPhone({}); + return this.grpcService.authNew.verifyMyPhone({ code }); } public addMyAuthFactorOTPSMS(): Promise {