sandstorm / NeosTwoFactorAuthentication

Extend the Neos Backend Login with 2FA
MIT License
12 stars 8 forks source link

Check all second factors for a single user #3

Closed Pingu501 closed 2 years ago

Pingu501 commented 2 years ago

At the moment only one second factor per user is checked: https://github.com/sandstorm/NeosTwoFactorAuthentication/blob/e58561bf3dedf5ea08c4999a0e4a03de264a0728/Classes/Security/Authentication/Provider/PersistentUsernameAndPasswordWithSecondFactorProvider.php#L46

The provider should check all factors and match if one was correct.

Pingu501 commented 2 years ago

was solved with 491ec39b and release in version 1.0.2