getgrav / grav-plugin-login

Grav Login Plugin
http://getgrav.org
MIT License
44 stars 54 forks source link

Login without authentication via 2FA fires event onUserLogin #293

Open awrog opened 1 year ago

awrog commented 1 year ago

When I login with a valid username and password, the event onUserLogin is fired. It fires even when I have to enter my 2FA-code.

Shouldn't the event onUserLogin only be fired after a succesfull login and 2FA authentication? Unfortunately there's no event that is fired after (just) a succesfull 2FA authentication.