SIGN IN SIGN UP
HeyPuter / puter UNCLAIMED

🌐 The Internet Computer! Free, Open-Source, and Self-Hostable.

0 0 122 JavaScript

Display logged-in banner on homepage (#2742)

* Display logged-in banner on homepage

Pass auth_user from the router into PuterHomepageService and show a logged-in banner when a user is present. _default.js now includes auth_user in the svc_puterHomepage.send call. PuterHomepageService.send signature was updated to accept auth_user; the service stores logged_in_user, forwards it to generate_puter_page_html, and injects a styled "Logged in as <username>" banner into the top of the page when available. This surfaces the current user on the GUI and exposes logged_in_user to page generation and addons.

* Include request path and logged in user in GUI params; remove banner

* fix: bad auth_user check for homepage

---------

Co-authored-by: Daniel Salazar <daniel.salazar@puter.com>
N
Nariman Jelveh committed
92ac05e4f2659151fc5e3a4557b9e7f65e3feb60
Parent: 677bc29
Committed by GitHub <noreply@github.com> on 3/28/2026, 1:48:05 AM