mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:10:12 +00:00
account expiration structures
This commit is contained in:
parent
8bf6a29d4e
commit
5b3f645939
6 changed files with 16 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue