Skip to content
Advertisement

Tag: laravel-breeze

How to redirect a user to different dashboards based on a level field in the ”’users”’ table in Laravel Breeze?

Please forgive me if my question is too generic but I am at my wits end. I have a users table with a level field as shown given below: $table->unsignedSmallInteger(‘level’)->after(‘password’); I want to redirect the user to different dashboards based on the value of the level field. For example for level 0 user admindashboard for level 1 user userdashboard I

Advertisement