diff options
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/Login.php')
-rw-r--r-- | demos/time-tracker/protected/pages/TimeTracker/Login.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/Login.php b/demos/time-tracker/protected/pages/TimeTracker/Login.php index 376953a5..aa12e716 100644 --- a/demos/time-tracker/protected/pages/TimeTracker/Login.php +++ b/demos/time-tracker/protected/pages/TimeTracker/Login.php @@ -45,6 +45,8 @@ class Login extends TPage if($this->Page->IsValid)
{
$auth = $this->Application->getModule('auth');
+ if($this->remember->Checked)
+ $auth->rememberSignon($this->User);
$this->Response->redirect($auth->getReturnUrl());
}
}
|