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 54e513f312)
This commit is contained in:
Livio Spring
2025-03-24 16:10:47 +01:00
parent d869e21939
commit 7f954afab7

View File

@@ -18,7 +18,7 @@ export class NewAuthService {
}
public verifyMyPhone(code: string): Promise<VerifyMyPhoneResponse> {
return this.grpcService.authNew.verifyMyPhone({});
return this.grpcService.authNew.verifyMyPhone({ code });
}
public addMyAuthFactorOTPSMS(): Promise<AddMyAuthFactorOTPSMSResponse> {