fix(management): allow emty email in resend initialization email (#2592)

This commit is contained in:
Silvan 2021-10-28 17:13:46 +02:00 committed by GitHub
parent 6ef0d92200
commit dc3493cba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3165,7 +3165,7 @@ message UpdateHumanEmailResponse {
message ResendHumanInitializationRequest {
string user_id = 1 [(validate.rules).string = {min_len: 1, max_len: 200}];
string email = 2 [(validate.rules).string.email = true];
string email = 2 [(validate.rules).string = {ignore_empty: true, email: true}];
}
message ResendHumanInitializationResponse {