Add Google OAuth admin login; fix header comment; both auth methods active

This commit is contained in:
2026-05-29 15:13:38 +00:00
parent 53f9f3e4da
commit e344e52d70
4 changed files with 167 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<?php
/**
* Tom's Java Jive - Admin Header
* Authentication temporarily disabled
* Requires AdminAuth::require() — redirects to login.php
*/
require_once __DIR__ . '/../../includes/auth.php';
@@ -105,10 +105,10 @@ $currentPage = basename($_SERVER['PHP_SELF'], '.php');
<a href="/admin/campaigns.php" class="nav-item <?= $currentPage === 'campaigns' ? 'active' : '' ?>">
<i class="fas fa-envelope"></i> Email Campaigns
</a>
<a href="/admin/email-log.php" class="nav-item <?= $currentPage === 'email-log' ? 'active' : '' ?>"><i class="fas fa-envelope-open-text"></i> Email Log</a>
</div>
<div class="nav-group">
<span class="nav-group-title">Settings</span>
<a href="/admin/settings.php" class="nav-item <?= $currentPage === 'settings' ? 'active' : '' ?>">
<i class="fas fa-cog"></i> Store Settings
</a>