mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-01 18:48:17 +00:00
Stupid typo.
This commit is contained in:
parent
f4a44ebc4a
commit
85234b5072
@ -74,7 +74,7 @@ class BasicAuthSession {
|
||||
*/
|
||||
function CheckPassword( $username, $password ) {
|
||||
$qry = new PgQuery( "SELECT * FROM usr WHERE lower(username) = ? ", $username );
|
||||
if ( $qry->Exec('BasicAuth',__LINE,__FILE__) && $qry->rows == 1 ) {
|
||||
if ( $qry->Exec('BasicAuth',__LINE__,__FILE__) && $qry->rows == 1 ) {
|
||||
$usr = $qry->Fetch();
|
||||
dbg_error_log( "BasicAuth", ":CheckPassword: Name:%s, Pass:%s, File:%s", $username, $password, $usr->password );
|
||||
if ( session_validate_password( $password, $usr->password ) ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user