Skip to content

Commit

Permalink
[UBER-118] Forbid unwanted symbols in a workspace name (#3197)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
  • Loading branch information
wazsone committed May 17, 2023
1 parent 55780b1 commit 72f1570
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/login-assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"WantAnotherWorkspace": "Want to create another workspace?",
"ChangeAccount": "Change account",
"NotSeeingWorkspace": "Not seeing your workspace?",
"WorkspaceNameRule": "The workspace name can contains lowercase letters, numbers, and symbols !@#%&^-",
"WorkspaceNameRule": "The workspace name can contain lowercase letters, numbers and symbol -",
"ForgotPassword": "Forgot your password?",
"KnowPassword": "Know your password?",
"Recover": "Recover",
Expand Down
2 changes: 1 addition & 1 deletion plugins/login-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"WantAnotherWorkspace": "Хотите создать другое рабочее пространство?",
"ChangeAccount": "Сменить пользователя",
"NotSeeingWorkspace": "Не видите ваше рабочее пространство?",
"WorkspaceNameRule": "Название рабочего пространства должно состояить из строчных латинских букв, цифр и символов !@#%&^-",
"WorkspaceNameRule": "Название рабочего пространства должно состояить из строчных латинских букв, цифр и символа -",
"ForgotPassword": "Забыли пароль?",
"KnowPassword": "Знаете пароль?",
"Recover": "Восстановить",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
name: 'workspace',
i18n: login.string.Workspace,
rule: /^[0-9a-z#%&^\-!)(]{3,63}$/,
rule: /^[0-9a-z\-)(]{3,63}$/,
ruleDescr: login.string.WorkspaceNameRule
}
]
Expand Down

0 comments on commit 72f1570

Please sign in to comment.