aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-18 19:53:45 -0700
committerFriendika <info@friendika.com>2011-09-18 19:53:45 -0700
commit5b3f6459392ba6f417cfc5cb0d38094c009c6913 (patch)
treed98c801e79dc3542cf89769d7b943f1b8292a38b /include/api.php
parent8bf6a29d4e05af5d461da3f01999785dc12ee7da (diff)
downloadvolse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.tar.gz
volse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.tar.bz2
volse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.zip
account expiration structures
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 5d008c290..74b4aaf6e 100644
--- a/include/api.php
+++ b/include/api.php
@@ -55,7 +55,7 @@
// process normal login request
$r = q("SELECT * FROM `user` WHERE ( `email` = '%s' OR `nickname` = '%s' )
- AND `password` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1",
+ AND `password` = '%s' AND `blocked` = 0 AND `account_expired` = 0 AND `verified` = 1 LIMIT 1",
dbesc(trim($user)),
dbesc(trim($user)),
dbesc($encrypted)