diff options
Diffstat (limited to 'app/frontend/controls/LoginBox.php')
-rw-r--r-- | app/frontend/controls/LoginBox.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/frontend/controls/LoginBox.php b/app/frontend/controls/LoginBox.php index 1136a79..8ab0c94 100644 --- a/app/frontend/controls/LoginBox.php +++ b/app/frontend/controls/LoginBox.php @@ -30,7 +30,8 @@ class LoginBox extends TemplateControl { public function validatePassword($sender, $param) { $param->IsValid = $this->Application->getModule('auth')->login( $this->Login->Text, - $this->Password->Text + $this->Password->Text, + $this->Remember->Checked ? PHP_INT_MAX : 0 ); } |