mirror of
https://github.com/sismics/docs.git
synced 2025-12-21 21:51:39 +00:00
allow hyphen in username (#731)
* allow hyphen in username * remove extra escaping --------- Co-authored-by: Enrice <erich.mauerboeck@ergo-versicherung.at>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<label class="col-sm-2 control-label" for="inputUserUsername">{{ 'settings.user.edit.username' | translate }}</label>
|
||||
<div class="col-sm-7">
|
||||
<input name="userUsername" type="text" id="inputUserUsername" required ng-disabled="isEdit()" class="form-control"
|
||||
ng-pattern="/^[a-zA-Z0-9_@\.]*$/"
|
||||
ng-pattern="/^[a-zA-Z0-9_@.-]*$/"
|
||||
ng-minlength="3" ng-maxlength="50" ng-attr-placeholder="{{ 'settings.user.edit.username' | translate }}" ng-model="user.username"/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user