mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:27:32 +00:00
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:
@@ -18,7 +18,7 @@ export class NewAuthService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public verifyMyPhone(code: string): Promise<VerifyMyPhoneResponse> {
|
public verifyMyPhone(code: string): Promise<VerifyMyPhoneResponse> {
|
||||||
return this.grpcService.authNew.verifyMyPhone({});
|
return this.grpcService.authNew.verifyMyPhone({ code });
|
||||||
}
|
}
|
||||||
|
|
||||||
public addMyAuthFactorOTPSMS(): Promise<AddMyAuthFactorOTPSMSResponse> {
|
public addMyAuthFactorOTPSMS(): Promise<AddMyAuthFactorOTPSMSResponse> {
|
||||||
|
Reference in New Issue
Block a user