![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 42 Pomógł: 0 Dołączył: 25.09.2013 Ostrzeżenie: (0%) ![]() ![]() |
Korzystam z FOSUserBundle, ale mam własny Model i Manager. Pomimo tego że w security.yml
oraz
który prowadzi do security.xml z vendors FOSUserBundla
a fos_user.user_manager zdefiniowałem w services.yml jako własną klase
Mój własny manager FOSUserManager, implementuje klasy UserManagerInterface, UserProviderInterface i posiada metodę findUserByUsernameOrEmail() która zwraca mój własny zdefiniowany FOSUserModel który implementuje UserInterface a wkonstruktorze przekazuje moją własną encję userProfile. Pomimo tego wszystkiego po próbie logowania dostaje komunikat : There is no user provider for user "Core\Module\User\Infrastructure\FOSUserModel". . Metodę unserialize() mam aktualnie pustą. Jeśli zakomentuje treść metody serialize() w FOSUserModel, to tak jak u tego gościa http://stackoverflow.com/questions/1679549...henticated-user loguje mnie z authentication YES, logged as "PUSTA PRZESTRZEŃ" Dlaczego There is no user provider skoro jest zdefiniowany ? Ten post edytował ZiaRek 24.11.2015, 10:31:27 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 16.07.2025 - 08:17 |