feature: allow dot on username

This commit is contained in:
Jean-Baptiste Pasquier 2021-06-17 09:30:21 +00:00
parent a2123f07df
commit 22400b6b45

View File

@ -2,4 +2,4 @@ if componentSet.has('admin') && componentSet.has('chat')
solid-widget(name='orbit-username-field')
template
label ${label}
input(type="text" title='' pattern="[a-zA-Z0-9]+" label="${label}" data-trans='title=user.create.labelUsernameTitle' name="username" required value="\${value}" data-holder)
input(type="text" title='' pattern="[a-zA-Z0-9\.]+" label="${label}" data-trans='title=user.create.labelUsernameTitle' name="username" required value="\${value}" data-holder)