fix document 500 error and fix users tabel for bot
This commit is contained in:
@@ -22,6 +22,7 @@ service SecurityService {
|
||||
rpc SetupTotp (UserSecurityRequest) returns (TotpSetupResponse);
|
||||
rpc EnableTotp (TotpCodeRequest) returns (TotpStatusResponse);
|
||||
rpc DisableTotp (TotpCodeRequest) returns (TotpStatusResponse);
|
||||
rpc AdminDisableTotp (AdminDisableTotpRequest) returns (TotpStatusResponse);
|
||||
}
|
||||
|
||||
service SettingsService {
|
||||
@@ -248,3 +249,8 @@ message TotpCodeRequest {
|
||||
string userId = 1;
|
||||
string code = 2;
|
||||
}
|
||||
|
||||
message AdminDisableTotpRequest {
|
||||
string actorUserId = 1;
|
||||
string userId = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user