mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-26 01:21:22 +01:00
Enhance: Extend username length to 255
Backend username is extend to 255, UI should update eithera #6086 Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
13b40e6074
commit
571384cdb2
@ -4,7 +4,7 @@
|
|||||||
<div class="form-group form-group-override">
|
<div class="form-group form-group-override">
|
||||||
<label for="username" class="required form-group-label-override">{{'PROFILE.USER_NAME' | translate}}</label>
|
<label for="username" class="required form-group-label-override">{{'PROFILE.USER_NAME' | translate}}</label>
|
||||||
<label for="username" aria-haspopup="true" role="tooltip" class="tooltip tooltip-validation tooltip-md tooltip-bottom-left" [class.invalid]='getValidationState("username")'>
|
<label for="username" aria-haspopup="true" role="tooltip" class="tooltip tooltip-validation tooltip-md tooltip-bottom-left" [class.invalid]='getValidationState("username")'>
|
||||||
<input type="text" required pattern='[^"~#$%]+' maxLengthExt="20" #usernameInput="ngModel" name="username" [(ngModel)]="newUser.username" id="username" size="30"
|
<input type="text" required pattern='[^"~#$%]+' maxLengthExt="255" #usernameInput="ngModel" name="username" [(ngModel)]="newUser.username" id="username" size="30"
|
||||||
(input)='handleValidation("username", false)'
|
(input)='handleValidation("username", false)'
|
||||||
(blur)='handleValidation("username", true)'>
|
(blur)='handleValidation("username", true)'>
|
||||||
<span class="tooltip-content">
|
<span class="tooltip-content">
|
||||||
|
Loading…
Reference in New Issue
Block a user