Skip to content
Snippets Groups Projects
Commit ebfb0b45 authored by Jared Hancock's avatar Jared Hancock
Browse files

lint: Fix usage of undeclared global var

parent 6eabf47c
No related branches found
Tags v1.8.1-dpr
No related merge requests found
......@@ -636,6 +636,8 @@ class PasswordResetTokenBackend extends StaffAuthenticationBackend {
}
function signOn($errors=array()) {
global $ost;
if (!isset($_POST['userid']) || !isset($_POST['token']))
return false;
elseif (!($_config = new Config('pwreset')))
......
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