mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:17:35 +00:00
fix: import totp in add human user with secret (#7936)
* fix: import totp in add human user with secret * fix: import totp in add human user with secret * fix: import totp in add human user with secret * fix: review comment changes
This commit is contained in:
@@ -931,6 +931,17 @@ message AddHumanUserRequest{
|
||||
HashedPassword hashed_password = 8;
|
||||
}
|
||||
repeated IDPLink idp_links = 9;
|
||||
|
||||
// An Implementation of RFC 6238 is used, with HMAC-SHA-1 and time-step of 30 seconds.
|
||||
// Currently no other options are supported, and if anything different is used the validation will fail.
|
||||
optional string totp_secret = 12 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
max_length: 200;
|
||||
example: "\"TJOPWSDYILLHXFV4MLKNNJOWFG7VSDCK\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message AddHumanUserResponse {
|
||||
|
Reference in New Issue
Block a user