account expiration structures

This commit is contained in:
Friendika 2011-09-18 19:53:45 -07:00
parent 8bf6a29d4e
commit 5b3f645939
6 changed files with 16 additions and 6 deletions

View file

@ -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)