aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-08 10:27:10 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-08 10:27:10 +0100
commitfe0e980b0cc80ae0a42ed8479cf20be36636110c (patch)
tree4238d9960fd665d5d7624aeb61710a13556deae7 /app/controllers/indexController.php
parent5e2023392ecc648d1ddc73d84f5376f4d110c37f (diff)
Fix issue #235: annule le cache après connexion réussie
Diffstat (limited to 'app/controllers/indexController.php')
-rwxr-xr-xapp/controllers/indexController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 76fd2cc75..98fb4e903 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -209,6 +209,7 @@ class indexController extends ActionController {
$res = json_decode ($result, true);
if ($res['status'] == 'okay' && $res['email'] == $this->view->conf->mailLogin ()) {
Session::_param ('mail', $res['email']);
+ touch(PUBLIC_PATH . '/data/touch.txt');
} else {
$res = array ();
$res['status'] = 'failure';