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

Remember Me only works for the first user defined in config.yml #46

Open
dgruseck opened this issue Dec 20, 2013 · 3 comments
Open

Remember Me only works for the first user defined in config.yml #46

dgruseck opened this issue Dec 20, 2013 · 3 comments

Comments

@dgruseck
Copy link

Hi,

I have two users A and B.
They are defined in the config.yml under the pugx_multi_user: users: section.
But the remember_me functionality only works for the first user defined.

Does someone have a clue how to fix it, or how to implement a workaround?

Thanks,
David

@p-bizouard
Copy link

Hi,

366 days after, I have the same issue.

I fixed it by adding the main Entity to my config list :

pugx_multi_user:
  users:
    user: # I don't register my visitors under "User" but one of Admin / Courier / Extranaut
        entity:
          class: XXX\UserBundle\Entity\User # Admin, Courier and Extranaut extends User
    admin:
        entity:
          class: XXX\CofcBundle\Entity\Admin
    courier:
        entity:
          class: XXX\CofcBundle\Entity\Courier
    extranaut:
        entity:
          class: XXX\CofcBundle\Entity\Extranaut

@pauletienney
Copy link

pauletienney commented Mar 7, 2018

1172 days later, your answer helped me a lot. Thank you very much !

@PauchardThomas
Copy link

1690 days later, your answer helped me a lot. Thank you so much !

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

No branches or pull requests

4 participants