fix: rename lifetime to expiration of pwless link in ImportHumanUserResponse (#2687)

This commit is contained in:
Livio Amstutz
2021-11-15 14:24:45 +01:00
committed by GitHub
parent 8d4b2dcc75
commit ebe2fbe1d5
3 changed files with 7 additions and 4 deletions

View File

@@ -580,7 +580,6 @@ service ManagementService {
rpc AddPasswordlessRegistration(AddPasswordlessRegistrationRequest) returns (AddPasswordlessRegistrationResponse) {
option (google.api.http) = {
post: "/users/{user_id}/passwordless/_link"
body: "*"
};
option (zitadel.v1.auth_option) = {
permission: "user.credential.write"
@@ -3001,7 +3000,9 @@ message ImportHumanUserRequest {
message ImportHumanUserResponse {
message PasswordlessRegistration {
string link = 1;
//deprecated: use expiration instead
google.protobuf.Duration lifetime = 2;
google.protobuf.Duration expiration = 3;
}
string user_id = 1;