diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-07-27 12:34:17 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-27 12:34:17 +0200 |
commit | a285668ec4456c4d413c1d6dec275f1d18bf3f15 (patch) | |
tree | e613640dd7d4469af27faef101a48823ba158122 /application | |
parent | 9fbc42294e7667c5ef19cafa0d1fcfbc1c0f36a9 (diff) | |
download | Shaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.tar.gz Shaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.tar.zst Shaarli-a285668ec4456c4d413c1d6dec275f1d18bf3f15.zip |
Fix redirection after post install login
Diffstat (limited to 'application')
-rw-r--r-- | application/front/controller/visitor/LoginController.php | 2 |
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 | /** |