Force login failedCreated 2 years ago by siemike
Hi, I'm going to implement 2FA for my website, basically I will send SMS code to user after login. I've change the LoginFormHandler to redirect to SMS authentication, its works great but when the OTP code succeed I use $authenticator->login($user, true); , redirect to admin panel and it failed. I've tried use both UserAuthenticator and auth()->login($user) but neither of them are succeeded. Anybody in this forum has a same problem?