diff options
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index 4f4d26a6c..125aedffd 100644 --- a/include/auth.php +++ b/include/auth.php @@ -94,7 +94,7 @@ function account_verify_password($login, $pass) { $where = " where account_email = '" . dbesc($login) . "' "; } - $a = q("select * from account $where"); + $a = dbq("select * from account $where"); if(! $a) { return null; } @@ -112,6 +112,7 @@ function account_verify_password($login, $pass) { } if($channel) { + // Try the authentication plugin again since weve determined we are using the channel login instead of account login $addon_auth = [ 'username' => $account['account_email'], |