fix: totp and telegram codes is optional
This commit is contained in:
@@ -50,8 +50,8 @@ message RegisterResponse {
|
||||
|
||||
message Verify2FaRequest {
|
||||
string temp_token = 1;
|
||||
string totp_code = 2;
|
||||
string telegram_code = 3;
|
||||
optional string totp_code = 2;
|
||||
optional string telegram_code = 3;
|
||||
}
|
||||
|
||||
message Verify2FaResponse {
|
||||
|
||||
Reference in New Issue
Block a user