Skip to content

Commit 8118a32

Browse files
committed
mgr/dashboard: fix rgw display name validation
the dot(.) character is allowed in full name Fixes: https://tracker.ceph.com/issues/65146 Signed-off-by: Nizamudeen A <[email protected]>
1 parent 4a987d7 commit 8118a32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ export class RgwUserFormComponent extends CdForm implements OnInit {
9898
)
9999
]
100100
],
101-
display_name: [null, [Validators.required, Validators.pattern(/^[a-zA-Z0-9!@#%^&*()_ -]+$/)]],
101+
display_name: [
102+
null,
103+
[Validators.required, Validators.pattern(/^[a-zA-Z0-9!@#%^&*()._ -]+$/)]
104+
],
102105
email: [
103106
null,
104107
[CdValidators.email],

0 commit comments

Comments
 (0)