Redirect to login page if login block fails If you fail to log in correctly from a login block, I would like the user to be directed to the login page to log in from there.  How can this be accomplished?
I guess altering the user login form and override the user_login_final_validate() with a custom custom_user_login_final_validate() with all codes copy from existing to custom and adding redirecting codes to login page with a check that current page is not user login page, should work.