Commit 7747e1e8 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#215335 by jvandyk: fix user_login_submit() phpdoc

parent e77a197c
...@@ -1339,8 +1339,10 @@ function user_authenticate_finalize(&$edit) { ...@@ -1339,8 +1339,10 @@ function user_authenticate_finalize(&$edit) {
} }
/** /**
* A validate handler on the login form. Update user's login timestamp, fire * Submit handler for the login form. Redirects the user to a page.
* hook_user('login), and generate new session ID. *
* The user is redirected to the My Account page. Setting the destination in
* the query string (as done by the user login block) overrides the redirect.
*/ */
function user_login_submit($form, &$form_state) { function user_login_submit($form, &$form_state) {
global $user; global $user;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment