ssossossossosso

Forums

This topic contains 1 reply, has 2 voices, and was last updated by  ignat 2 years, 1 month ago.

  • Creator
    Topic
  • #29651

    dimitri.seguin17
    Participant

    Hello,
    I work on login and during the login I get oro user in DB.

    With the user, I want to set the password. But the method setPassword is in class AbstractUser and my oro user don’t find this method.

    I don’t understand why because User extends ExtendsUser extends AbstractUser.

    Have you an idea ? I use oroplatform 1.8

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #29652

    ignat
    Participant

    Hi dimitri.seguin17,

    Would be helpful to know what is the class of this object which you’re calling method setPassword. I’m sure it’s not Oro user. Maybe it’s Symfony\Component\Security\Core\User\User. I see it’s used by Symfony when you are using so called “in-memory user provider”: security.user.provider.in_memory (Symfony\Component\Security\Core\User\InMemoryUserProvider).

    Thanks,
    Ignat

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.