account expiration structures
This commit is contained in:
parent
8bf6a29d4e
commit
5b3f645939
6 changed files with 16 additions and 6 deletions
|
@ -56,7 +56,7 @@ function openid_content(&$a) {
|
|||
|
||||
|
||||
$r = q("SELECT `user`.*, `user`.`pubkey` as `upubkey`, `user`.`prvkey` as `uprvkey`
|
||||
FROM `user` WHERE `openid` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1",
|
||||
FROM `user` WHERE `openid` = '%s' AND `blocked` = 0 AND `account_expired` = 0 AND `verified` = 1 LIMIT 1",
|
||||
dbesc($_SESSION['openid'])
|
||||
);
|
||||
if(! count($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue