--- a/plugins/SpecialUserFuncs.php Thu Aug 21 08:24:37 2008 -0400
+++ b/plugins/SpecialUserFuncs.php Thu Aug 21 11:24:56 2008 -0400
@@ -699,6 +699,11 @@
global $db, $session, $paths, $template, $plugins; // Common objects
global $lang;
+ if ( $session->user_logged_in )
+ {
+ $paths->main_page();
+ }
+
// form field trackers
$username = '';
$email = '';
@@ -1772,6 +1777,11 @@
$template->footer();
return true;
}
+ if ( $session->user_logged_in )
+ {
+ $paths->main_page();
+ }
+
if(isset($_POST['do_reset']))
{
if($session->mail_password_reset($_POST['username']))