summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-06 23:04:38 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-06 23:04:38 +0100
commit88a8fbd1ffca15e0ee6a83fc0cbbf8c7f19464ce (patch)
tree9f2aae8d168d8dafa07b1f62ea969570f4aceeb4
parent351de64a6e302b566eab1ac2c0c95e011efd86f7 (diff)
downloadkernel-88a8fbd1ffca15e0ee6a83fc0cbbf8c7f19464ce.tar.gz
kernel-88a8fbd1ffca15e0ee6a83fc0cbbf8c7f19464ce.tar.bz2
kernel-88a8fbd1ffca15e0ee6a83fc0cbbf8c7f19464ce.zip
kernel: revert installer login redirect attempts
The signin/loginfrom session approach didn't work reliably due to session name inconsistency. Revert to original force_installer.tpl display. Use gOverrideLoginFunction for upgrade-time admin access. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xincludes/setup_inc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/setup_inc.php b/includes/setup_inc.php
index 8939fbc..ba1487f 100755
--- a/includes/setup_inc.php
+++ b/includes/setup_inc.php
@@ -274,12 +274,6 @@ if( $gBitSystem->isDatabaseValid() ) {
// INSTALLER_FORCE was set earlier and here we force the installer if needed.
if( defined( 'INSTALLER_FORCE' )) {
- if( !$gBitUser->isAdmin() ) {
- // Non-admin: redirect to the normal signin page so the reliable cookie/session
- // login flow handles auth, then bring the user back to the installer.
- $_SESSION['loginfrom'] = INSTALL_PKG_URL.'install.php';
- KernelTools::bit_redirect( USERS_PKG_URL.'signin.php' );
- }
$gBitSmarty->display( "bitpackage:kernel/force_installer.tpl" );
die;
} \ No newline at end of file