Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UBER-118] Forbid unwanted symbols in a workspace name #3197

Merged
merged 2 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 !@#%&^-",
haiodo marked this conversation as resolved.
Show resolved Hide resolved
"WorkspaceNameRule": "The workspace name can contains lowercase letters, numbers, and symbols @%&^-",
"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