Skip to content

Commit

Permalink
Merge pull request ceph#56470 from rhcs-dashboard/fix-full-name-valid…
Browse files Browse the repository at this point in the history
…ation-rgw

mgr/dashboard: fix rgw display name validation

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <[email protected]>
  • Loading branch information
nizamial09 authored Mar 28, 2024
2 parents 87a931c + 8118a32 commit dd6049f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ export class RgwUserFormComponent extends CdForm implements OnInit {
)
]
],
display_name: [null, [Validators.required, Validators.pattern(/^[a-zA-Z0-9!@#%^&*()_ -]+$/)]],
display_name: [
null,
[Validators.required, Validators.pattern(/^[a-zA-Z0-9!@#%^&*()._ -]+$/)]
],
email: [
null,
[CdValidators.email],
Expand Down

0 comments on commit dd6049f

Please sign in to comment.