Message of the day:
Security release 4.4.4 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.4.md
SilverStripe 4 related information and questions.
Or if you know a way to detect the login method differently, I'd like to know
The problem at hand is, the login form comes from the authenticator, yet at the point of deciding, the authenticator is not yet known
What would be the best course of action? Expect all developers that want an extra login method to extend Security, or find a different way of determining the login method?
Question! If I want to add an extra login-method (in my case, 2FA yubi authentication), but I don't want to use the
$authenticator = $this->getRequest()->requestVar('AuthenticationMethod'); method currently used, as it exposes the authentication method, giving the option to bypass the given authentication
Note to self: Update the documentation
(It's always easy once you know where to look 😛 )
I'll make a PR once I get my messy debugging and test adjustments cleaned up somewhere this week 🙂
Was quite easy to spot actually, once I figured out it was because I registered a second authenticator 🙂