mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update BasePageController to update lastlogin every 3 hours for better new releases handling
This commit is contained in:
@@ -243,7 +243,7 @@ class BasePageController extends Controller
|
||||
}
|
||||
|
||||
// Update last login every 15 mins.
|
||||
if (now()->subMinutes(15) > $this->userdata['lastlogin']) {
|
||||
if (now()->subHours(3) > $this->userdata['lastlogin']) {
|
||||
event(new UserLoggedIn($this->userdata));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user