Visanduma / nova-two-factor

Laravel nova in-dashboard 2FA feature
56 stars 31 forks source link

Ask code to page that are not protected by authentication #38

Closed henryavila closed 1 year ago

henryavila commented 1 year ago

If I log in in the app and it ask for the 2FA token, if another page that are public (don't require authentication) is opened, the page can't be access without entering 2FA token

lahirulhr commented 1 year ago

Hi. it's looks like, the \Visanduma\NovaTwoFactor\Http\Middleware\TwoFa::class middleware was registered inside the main applications kernal.php. it must be register on nova config file.