aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/visitor/LoginController.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-07-27 12:34:17 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-27 12:34:17 +0200
commita285668ec4456c4d413c1d6dec275f1d18bf3f15 (patch)
treee613640dd7d4469af27faef101a48823ba158122 /application/front/controller/visitor/LoginController.php
parent9fbc42294e7667c5ef19cafa0d1fcfbc1c0f36a9 (diff)
downloadShaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.tar.gz
Shaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.tar.zst
Shaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.zip
Fix redirection after post install login
Diffstat (limited to 'application/front/controller/visitor/LoginController.php')
-rw-r--r--application/front/controller/visitor/LoginController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/visitor/LoginController.php b/application/front/controller/visitor/LoginController.php
index c40b8cc4..121ba40b 100644
--- a/application/front/controller/visitor/LoginController.php
+++ b/application/front/controller/visitor/LoginController.php
@@ -91,7 +91,7 @@ class LoginController extends ShaarliVisitorController
91 // Force referer from given return URL 91 // Force referer from given return URL
92 $this->container->environment['HTTP_REFERER'] = $request->getParam('returnurl'); 92 $this->container->environment['HTTP_REFERER'] = $request->getParam('returnurl');
93 93
94 return $this->redirectFromReferer($request, $response, ['login']); 94 return $this->redirectFromReferer($request, $response, ['login', 'install']);
95 } 95 }
96 96
97 /** 97 /**