I am trying to redirect a user on a specific page after the login…
I have added a column in the user table called (user_type).
If a logged in user has a value of ADMIN in column user_type, how do i redirect that user to a specific page(admin dashboard page)
You may use the next logic:
Thank you @Marina.Rudenko
It worked fine…