? _login.patch
? _login2.patch
? files
? latest.html
? modules/devel
? modules/game
? modules/htmltidy
? sites/feast-or-fa.mine.nu.drupal
Index: modules/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user.module,v
retrieving revision 1.632
diff -u -p -r1.632 user.module
--- modules/user.module	23 Jun 2006 07:06:17 -0000	1.632
+++ modules/user.module	27 Jun 2006 02:44:00 -0000
@@ -878,7 +878,7 @@ function user_login($msg = '') {
 
   // If we are already logged on, go to the user page instead.
   if ($user->uid) {
-    drupal_goto('user/'. $user->uid);
+    drupal_goto('user/'. $user->uid, 'seed='.time());
   }
 
   // Display login form:
@@ -950,7 +950,7 @@ function user_login_submit($form_id, $fo
     $old_session_id = session_id();
     session_regenerate_id();
     db_query("UPDATE {sessions} SET sid = '%s' WHERE sid = '%s'", session_id(), $old_session_id);
-
+    drupal_goto($_REQUEST['destination'], 'seed='.time());
   }
 }
 
@@ -1017,7 +1017,7 @@ function user_logout() {
   // We have to use $GLOBALS to unset a global variable:
   $user = user_load(array('uid' => 0));
 
-  drupal_goto();
+  drupal_goto(NULL, 'seed='.time());
 }
 
 function user_pass() {
@@ -1159,7 +1159,7 @@ function user_register() {
 
   // If we aren't admin but already logged on, go to the user page instead.
   if (!$admin && $user->uid) {
-    drupal_goto('user/'. $user->uid);
+    drupal_goto('user/'. $user->uid, 'seed='.time());
   }
 
   // Display the registration form.
