From 7747e1e8e0df0c6985bcecfd3365b2f273bdbd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Tue, 29 Jan 2008 18:56:56 +0000 Subject: #215335 by jvandyk: fix user_login_submit() phpdoc --- modules/user/user.module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 3b0a1632e..9a5b369b2 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1339,8 +1339,10 @@ function user_authenticate_finalize(&$edit) { } /** - * A validate handler on the login form. Update user's login timestamp, fire - * hook_user('login), and generate new session ID. + * Submit handler for the login form. Redirects the user to a page. + * + * 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) { global $user; -- cgit v1.2.3