Timeline for Drupal UserLoginForm vs UserAuthenticationController login function - which to override?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 11, 2017 at 16:42 | comment | added | Berdir | That's not how it works, this is not a pluggable backend. There is one service, named user.auth and you have to override that. See drupal.org/docs/8/api/services-and-dependency-injection/… or previousnext.com.au/blog/… | |
Sep 11, 2017 at 15:10 | comment | added | jeff.eynon | So do I have to do anything other than this in my module's services file? Drupal isn't picking up my implementation of UserAuthInterface services: user.auth: class: Drupal\oauth2_ropc_authentication\Client\OAuthROPCUserAuthenticator tags: - { name: oauth2_ropc_authentication, priority: 101 } | |
Sep 11, 2017 at 15:09 | vote | accept | jeff.eynon | ||
Sep 8, 2017 at 19:02 | history | answered | Berdir | CC BY-SA 3.0 |