OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #35257

    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
  • #35258

    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)

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top