diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-27 19:44:10 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-27 19:44:10 -0400 |
commit | 29a3ffb99435827d5a7ea6886ac22bd2ee18d593 (patch) | |
tree | 511928e110e52d210c9707ab22e952b01b3368b1 /src/lib/Login.class.php | |
parent | 40bef9550687ed2b5a0c55feafc0b0dd015177e2 (diff) |
I think this fixes everything, but it now depends on PHP 5.3+
The introduction of the dependency on PHP 5.3 is that lib/Singleton.class
uses `get_called_class()'
Diffstat (limited to 'src/lib/Login.class.php')
-rw-r--r-- | src/lib/Login.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Login.class.php b/src/lib/Login.class.php index a470176..bb21928 100644 --- a/src/lib/Login.class.php +++ b/src/lib/Login.class.php @@ -19,7 +19,7 @@ class Login { return 2; } $hash = $db->getPasswordHash($uid); - if ($hasher->CheckPassword($password, $hash)) { + if ($hasher->check($password, $hash)) { // success $_SESSION['uid'] = $uid; return 0; |