From 2d1ec56fcced9fb76ba2a516486d1d13c26f8e72 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 28 Apr 2010 20:21:29 +1200 Subject: [PATCH] [Session] _CheckLogin needs to access $c for external authentication. --- inc/Session.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/Session.php b/inc/Session.php index 3131a03..a584181 100644 --- a/inc/Session.php +++ b/inc/Session.php @@ -798,6 +798,7 @@ EOTEXT; } function _CheckLogin() { + global $c; if ( isset($_POST['lostpass']) ) { dbg_error_log( "Login", ":_CheckLogin: User '$_POST[username]' has lost the password." ); $this->SendTemporaryPassword(); -- 2.11.4.GIT