Redirect User when after login

hello,
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)

Hi, @innocent_kisyeri

You may use the next logic:

Regards,
Marina

Thank you @Marina.Rudenko
It worked fine…

1 Like