Not allow comma for the user name (#19501)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-10-30 23:02:52 +08:00 committed by GitHub
parent 58557d3bae
commit 064a109f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "harbor", "name": "harbor",
"version": "2.9.0", "version": "2.10.0",
"description": "Harbor UI with Clarity", "description": "Harbor UI with Clarity",
"angular-cli": {}, "angular-cli": {},
"scripts": { "scripts": {

View File

@ -12,7 +12,7 @@
type="text" type="text"
class="clr-input" class="clr-input"
required required
pattern='[^"~#$%]+' pattern='[^,"~#$%]+'
maxLengthExt="255" maxLengthExt="255"
#usernameInput="ngModel" #usernameInput="ngModel"
name="username" name="username"