login: forgot password now works for guest again (bug #6214)

This commit is contained in:
martinlanghoff
2006-08-04 06:11:48 +00:00
parent bed24ce7f5
commit cbfad05c86
+1 -1
View File
@@ -50,7 +50,7 @@ $page = ''; // page to display
//******************************
// if you are logged in then you shouldn't be here!
if (isloggedin()) {
if (isloggedin() && !isguest()) {
redirect( $CFG->wwwroot.'/index.php', $txt->loginalready, 5 );
}