diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-30 06:09:20 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-30 06:09:20 -0700 |
commit | b399b20dee2752a038a64a8be2c89df142aae280 (patch) | |
tree | d94e361d0ec77efa3b0ceade9b762f6595bbc7eb /include/auth.php | |
parent | f83aa6c8a57e0ba9be2cd5842899488a4c2a8514 (diff) | |
download | volse-hubzilla-b399b20dee2752a038a64a8be2c89df142aae280.tar.gz volse-hubzilla-b399b20dee2752a038a64a8be2c89df142aae280.tar.bz2 volse-hubzilla-b399b20dee2752a038a64a8be2c89df142aae280.zip |
mail, i18n, etc.
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index 8e9d19d8a..8f9019e01 100644 --- a/include/auth.php +++ b/include/auth.php @@ -46,7 +46,7 @@ else { if((x($_POST,'auth-params')) && $_POST['auth-params'] == 'login') { $r = q("SELECT * FROM `user` - WHERE `email` = '%s' AND `password` = '%s' LIMIT 1", + WHERE `email` = '%s' AND `password` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1", dbesc(trim($_POST['login-name'])), dbesc($encrypted)); if(($r === false) || (! count($r))) { |