Based on the answer from this question How do I programmatically log in a user?
I know how to login in a user, but is there a way to test if user_login_submit was successful or not? It does not have a return value.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community