From 86b47c37c71e31a30774bcfbbc0957fa962d080c Mon Sep 17 00:00:00 2001 From: objecttothis Date: Sat, 18 Feb 2023 15:11:56 +0400 Subject: [PATCH] Fix login so that it redirects after migration - Before it was going on to the home controller after migration, but the session had already been destroyed. --- app/Controllers/Login.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php index e43f3200f..0947d007f 100644 --- a/app/Controllers/Login.php +++ b/app/Controllers/Login.php @@ -54,6 +54,7 @@ class Login extends BaseController set_time_limit(3600); $migration->setNamespace('App')->latest(); + return redirect()->to('login'); } }