1 year ago

redirect admin to admin view and normal user to user view

Posted 1 year ago by ronsonrey

in my users table i created a field isAdmin to indicate that the user is admin or not, if user is admin it is 1 and if not 0, how can i edit login route that will take me to admin view if the system check the isAdmin field and the value is 1?

Somebody please help me...

Please sign in or create an account to participate in this conversation.