mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Create cookie-based login and authentication system
This commit is contained in:
parent
45221365b5
commit
0bc3dc3830
46 changed files with 528 additions and 195 deletions
|
@ -47,6 +47,7 @@ if(sizeof($expiredPatrons) > 0){
|
|||
|
||||
foreach($expiredPatrons as $patron){
|
||||
Db::Query('update Patrons set Ended = ? where UserId = ?', [$now, $patron->UserId]);
|
||||
Db::Query('update Benefits set CanAccessFeeds = false, CanVote = false, CanBulkDownload = false where UserId = ?', [$patron->UserId]);
|
||||
|
||||
// Email the patron to notify them their term has ended
|
||||
// Is the patron a recurring subscriber?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue