ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by ignat ignat 1 year, 11 months ago.

  • Creator
    Topic
  • #13847

    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
  • #15273
    ignat
    ignat
    Oro Core

    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.