Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 530c61afe7f2d7a86eaf041f8f6fb5a093a5ae75 1 parent 58c98fa
martinlanghoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  login/forgot_password.php
View
2  login/forgot_password.php
@@ -50,7 +50,7 @@
//******************************
// if you are logged in then you shouldn't be here!
-if (isloggedin()) {
+if (isloggedin() && !isguest()) {
redirect( $CFG->wwwroot.'/index.php', $txt->loginalready, 5 );
}
Please sign in to comment.
Something went wrong with that request. Please try again.