v2: changed tfa check

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-12-14 16:55:50 +03:30
parent 0cd6107abe
commit 72cb1d8117
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -205,10 +205,13 @@ message TFAExRes {
string qrcode_base64 = 3; string qrcode_base64 = 3;
} }
message CheckTFAReq { message CheckTFAReq {
InternalIAM iam = 1; // InternalIAM iam = 1;
TFAReq req = 1;
string code = 2; string code = 2;
optional string algorithm = 3; // optional string algorithm = 3;
optional string reason = 4; // Can be later used as a lookup // optional string reason = 4; // Can be later used as a lookup
// optional string transaction_id = 5;
// optional TfaStateEnum state = 6;
} }
message TFA { message TFA {