smily's avatar
Level 1

Question about grouping auth routes with email verification and 2FA

Hello, I have a question about the best way to create groups in middleware auth.

I use laravel 11 with breeze starter kit with volt components and have enabled email verification under user. I'm not sure if I need a second group and if they won't hinder each other, but in any case it works without anything going wrong. In the future I would like to integrate 2FA and I don't know exactly in which group I should put the middleware "2fa.enabled".

This is what it looks like at the moment:

0 likes
0 replies

Please or to participate in this conversation.