Skip to content

Commit

Permalink
fix: MFA
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenSheep402 committed Oct 9, 2023
1 parent cb20a67 commit b3eb7fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions proto/auth/v1/auth_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ service AuthService {
// TOTP
rpc EnableTOTP(EnableTOTPRequest) returns (EnableTOTPResponse) {
option (google.api.http) = {
post: "/gapi/auth/v1/mfa/totp/enable
post: "/gapi/auth/v1/mfa/totp/enable",
body: "*"
};
}
Expand Down Expand Up @@ -113,9 +113,8 @@ message EnableTOTPRequest {
string verify_code = 2;
}
message EnableTOTPResponse {
string qr_code_url = 1;
string secret_key = 2;
repeated string recovery_code = 3;
string secret_key = 1;
repeated string recovery_code = 2;
}

message DisableTOTPRequest {
Expand Down

0 comments on commit b3eb7fb

Please sign in to comment.