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

Bug: возможно завершить регистрацию с уже занятым именем пользователя, набранным в другом регистре #348

Closed
faciledictu opened this issue Aug 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@faciledictu
Copy link
Contributor

Summary

App allow to complete sing up with an already taken username entered in a different case

Необходимо, чтобы сервер возвращал ответ с ошибкой, если при регистрации используется уже занятое имя пользователя, независимо от регистра.

При этом регистрироваться можно, используя любой регистр, и сохраняться в бд юзернейм должен в том виде, в котором его вводит пользователь. Вероятно, не стоит приводить все к нижнему регистру?

Reproduction steps

1. Зарегистрироваться, используя имя пользователя в нижнем регистре (username)
2. Попробовать зарегистрироваться еще раз, используя имя, отличающиеся только регистром (Username)

1. Sing Up with a username in lowercase (e.g. ‘username’)
2. Try to sign up again with the same username, but in a different letter case (e.g. ‘Username’)

Expected result

Форма регистрации сообщает, что имя пользователя уже занято.

The Sing Up form displays that the username is already taken.

Actual result

Регистрация проходит успешно, пользователь создан

Registration is successful, the second user has been created

Browsers

No response

OS

No response

@DieWerkself
Copy link
Contributor

Возьму.

@vladimirart2811
Copy link

vladimirart2811 commented Aug 18, 2023

Баг не воспроизводится. Форма регистрации сообщает, что имя пользователя уже занято.

Browser: Safari Версия 16.6 (18615.3.12.11.2)/Google Chrome Версия 115.0.5790.170 (Официальная сборка), (arm64)/Firefox 115.0.3 (64-разрядный)

macOS Ventura 13.5

@fey fey closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants