Redirect User when after login

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)

1 Like

Hi, @innocent_kisyeri

You may use the next logic:


Thank you @Marina.Kan
It worked fine…

1 Like