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

View File

@@ -19,7 +19,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> {