diff --git a/plugi-core/src/Core/helpers.php b/plugi-core/src/Core/helpers.php index 0ce10bf..8b2ff94 100644 --- a/plugi-core/src/Core/helpers.php +++ b/plugi-core/src/Core/helpers.php @@ -387,6 +387,10 @@ if (! function_exists('phpb_redirect')) { $_SESSION["phpb_flash"] = $flashData; } + if (session_status() === PHP_SESSION_ACTIVE) { + session_write_close(); + } + header('Location: ' . $url, true, $statusCode); exit(); } diff --git a/plugi-core/src/Modules/Auth/resources/views/layout.php b/plugi-core/src/Modules/Auth/resources/views/layout.php index 78b1a3a..1197fb5 100644 --- a/plugi-core/src/Modules/Auth/resources/views/layout.php +++ b/plugi-core/src/Modules/Auth/resources/views/layout.php @@ -3,17 +3,15 @@ - <?= phpb_trans('auth.title') ?> + <?= phpb_trans("auth.title") ?> - + " rel="stylesheet">
- +