0

I created MultiAuth, i can now login with my new admin auth. But the problem is , he redirects me to the normal login page of Auth because of im a guest. But im also logged in as a admin.

When i login with normal auth, it works as normal,

some code to test :

    @guest
        Guest
    @endguest

    @auth('web')
        web
    @endauth
    @auth('admin')
        admin
    @endauth

When i login with normal user it shows :

Web

when i logged out of everything it shows :

guest

and when i login with admin it shows :

guest admin

How can i disable/logout the guest when i login with admin?

0 Answers0