summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-29 18:56:56 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-29 18:56:56 +0000
commit7747e1e8e0df0c6985bcecfd3365b2f273bdbd1a (patch)
tree4455caabcd6b973d1e91c16822ae72e9ee0bb326 /modules
parente77a197c5c9775ffc2d8e87ce8e20012f378fb3a (diff)
downloadbrdo-7747e1e8e0df0c6985bcecfd3365b2f273bdbd1a.tar.gz
brdo-7747e1e8e0df0c6985bcecfd3365b2f273bdbd1a.tar.bz2
#215335 by jvandyk: fix user_login_submit() phpdoc
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module6
1 files changed, 4 insertions, 2 deletions
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;