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

Username is already used - forces logout #2981

Open
lookbadgers opened this issue May 8, 2020 · 1 comment
Open

Username is already used - forces logout #2981

lookbadgers opened this issue May 8, 2020 · 1 comment

Comments

@lookbadgers
Copy link

Symfony FOSUserBundle versions: 2.1.2 with Symfony 4.4

The user is being incorrectly logged out when trying to change their username to one that already exists. They see the error message The username is already used. but they are logged out and have to login again before trying again.

Steps to reproduce:

  1. composer create-project symfony/website-skeleton:^4.4 test
  2. composer require friendsofsymfony/user-bundle "~2.1"
  3. follow setup https://github.com/FriendsOfSymfony/FOSUserBundle/blob/v2.1.2/Resources/doc/index.rst
  4. Create two users
  5. Login - fos_user_security_login /login
  6. Edit profile - fos_user_profile_edit /profile/edit
  7. Change username to other user, the error The username is already used. is displayed and the user is logged out.
@lookbadgers
Copy link
Author

Any more information needed? Or is this a user error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant