mesutpiskin / keycloak-2fa-email-authenticator

🔒 Keycloak Authentication Provider implementation to get a two factor authentication with a OTP/code/token send via Email (through SMTP)
https://medium.com/@mesutpiskin/two-factor-authentication-via-email-in-keycloak-custom-auth-spi-935bbb3952a8
Apache License 2.0
158 stars 89 forks source link

catch exception when no or invalid code is entered #7

Closed jakubskopal closed 1 year ago

jakubskopal commented 1 year ago

Just a small fix that was causing unexpected login error when user submitted an empty email code.

mesutpiskin commented 1 year ago

Thanks @jakubskopal marged!