Skip to content
Snippets Groups Projects
Commit 44982778 authored by Michael Hamann's avatar Michael Hamann
Browse files

Prevent access to undefined $auth variable

parent c8b076b1
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ function auth_setup() {
nice_die($lang['authmodfailed']);
}
if(!$auth) return false;
if(!isset($auth) || !$auth) return false;
// do the login either by cookie or provided credentials XXX
$INPUT->set('http_credentials', false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment