]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix redirection after post install login
authorArthurHoaro <arthur@hoa.ro>
Mon, 27 Jul 2020 10:34:17 +0000 (12:34 +0200)
committerArthurHoaro <arthur@hoa.ro>
Mon, 27 Jul 2020 10:34:17 +0000 (12:34 +0200)
application/front/controller/visitor/LoginController.php

index c40b8cc400810b3c945baa8efbddaa2f244fe1a0..121ba40be8f7e55e50c7b74ccf2b7c91e94702c1 100644 (file)
@@ -91,7 +91,7 @@ class LoginController extends ShaarliVisitorController
         // Force referer from given return URL
         $this->container->environment['HTTP_REFERER'] = $request->getParam('returnurl');
 
-        return $this->redirectFromReferer($request, $response, ['login']);
+        return $this->redirectFromReferer($request, $response, ['login', 'install']);
     }
 
     /**