Browse Source

attempt to fix autologin

pull/10/head
Aaron Parecki 9 years ago
parent
commit
104819adde
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      controllers/controllers.php

+ 1
- 0
controllers/controllers.php View File

@ -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 {

Loading…
Cancel
Save