google2fa-laravel icon indicating copy to clipboard operation
google2fa-laravel copied to clipboard

Not possible to assign 2 differents Auth guard

Open Mikimike31 opened this issue 4 years ago • 2 comments

I work for a project who use 2 differents auth gards : one for users and one for admins. So the Authentificate is doing by 2 different Auth page After tested google2fa-laravel, I think it's not possible to configure 2 differents guards on the same laravel app. Have you any solution for my problem ? A good way could be add gard parameter in middleware, to have : $this->middleware('2fa:admin') Thank you

Mikimike31 avatar Mar 18 '20 15:03 Mikimike31

+1

Kokil avatar Mar 22 '21 08:03 Kokil

Me pregunto lo mismo

marcelocuba10 avatar May 11 '22 18:05 marcelocuba10