summaryrefslogtreecommitdiff
path: root/protected/models/LoginForm.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@ccwn.org>2012-04-28 17:06:39 +0200
committerTristan Zur <tzur@ccwn.org>2012-04-28 17:06:39 +0200
commit139dbc9cc21fb1d419c6ecc80380f723e613efbc (patch)
tree3bfa5c3ee5c84e2ff9ec7ccef2b27f1f378a6a19 /protected/models/LoginForm.php
parent2d4bddcbf7b816f86db6f308a4d11bc9787c1f99 (diff)
- AuditTrail Berechtigungen gesetzt (Nur Admin)
- Fehler in Extension "CJuiDateTimePicker" beseitigt - DateCompareValidator hinzugefügt - DateRangeValidator hinzugefügt - Datenbanktabellennamen geändert - Views für die Veranstaltungen bearbeitet
Diffstat (limited to 'protected/models/LoginForm.php')
-rw-r--r--protected/models/LoginForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/protected/models/LoginForm.php b/protected/models/LoginForm.php
index eb36e4a..3904698 100644
--- a/protected/models/LoginForm.php
+++ b/protected/models/LoginForm.php
@@ -67,7 +67,7 @@ class LoginForm extends CFormModel
}
if($this->_identity->errorCode===UserIdentity::ERROR_NONE)
{
- $duration=$this->rememberMe ? 3600*24*30 : 0; // 30 days
+ $duration=$this->rememberMe ? 3600*24*1 : 0; // 1 days
Yii::app()->user->login($this->_identity,$duration);
return true;
}