add enum for TFA message

This commit is contained in:
hossein_225 2024-12-09 14:25:50 +03:30
parent 32d46850a5
commit 434f74756f

View File

@ -210,7 +210,13 @@ message CheckTFAReq {
}
message TFA {
string key = 1;
OtpStateEnum state = 1;
int64 code = 2;
string transaction_id = 3;
}
enum OtpStateEnum {
OPT_STATE_ENUM_UNSPECIFIED = 0;
LOGIN = 1;
PAYMENT = 2;
}