From 104819adde01bac146e073c665d3e2b484c49522 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 9 May 2015 21:24:51 +0200 Subject: [PATCH] attempt to fix autologin --- controllers/controllers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/controllers.php b/controllers/controllers.php index 87e11d6..db2a885 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -92,6 +92,7 @@ $app->get('/add-to-home', function() use($app) { $params = $app->request()->params(); if(array_key_exists('token', $params) && !session('add-to-home-started')) { + unset($_SESSION['add-to-home-started']); // Verify the token and sign the user in try {