Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h2 style="color: #fff; margin-bottom: 1.5rem;">Privacy First</h2>
<span>•</span>
<a href="portfolio.html">Portfolio</a>
<span>•</span>
<a href="about.html">ThePhoenixAgency</a>
<a href="https://ThePhoenixAgency.github.io" target="_blank">ThePhoenixAgency</a>
<span>•</span>
<a href="https://github.com/ThePhoenixAgency/AI-Pulse" target="_blank">GitHub</a>
</div>
Expand Down
18 changes: 11 additions & 7 deletions backend.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,19 @@ <h3>Supabase Integration</h3>
</svg>
Reader
</a>
<a href="#" data-page="portfolio.html">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
</svg>
Portfolio
</a>

<div class="sidebar-section">Documentation</div>
<a href="#" data-page="docs/TECHNIQUE.md">
<a href="#" data-page="docs.html">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/>
</svg>
Technical Docs
Documentation
</a>
</nav>

Expand Down Expand Up @@ -399,12 +405,10 @@ <h3>Active Today</h3>
const dashboardView = document.getElementById('dashboard-view');
const pageTitle = document.getElementById('page-title');

// Check if already logged in
// Check if already logged in - bypass login for now
function checkSession() {
const session = localStorage.getItem('supabase_session');
if (session) {
showDashboard();
}
// Always show dashboard (Supabase not configured)
showDashboard();
}
Comment on lines +408 to 412
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkSession() now always calls showDashboard(), bypassing the login overlay entirely. This makes backend.html effectively unauthenticated even if/when Supabase is later configured, and can expose admin/dashboard UI publicly. Gate this behind an explicit dev flag, or keep the session check and require login when no valid session exists.

Copilot uses AI. Check for mistakes.

// Login handler
Expand Down
Loading