Firesphere

Or if you know a way to detect the login method differently, I'd like to know

Firesphere

The problem at hand is, the login form comes from the authenticator, yet at the point of deciding, the authenticator is not yet known

Firesphere

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?

Firesphere

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

Firesphere

(It's always easy once you know where to look 😛 )

Firesphere

I'll make a PR once I get my messy debugging and test adjustments cleaned up somewhere this week 🙂

Firesphere

Was quite easy to spot actually, once I figured out it was because I registered a second authenticator 🙂