Updated today at 08:58

Commit: 04ef012 Show on GitHub

  • Author: Yamen
  • Date: 3/19/2026, 1:57:56 PM
  • Message: feat: add authentication guard to profile routes #312 Created +layout.server.js with a load function Checks for authenticated user in locals.user Throws a 302 redirect to /login if user is not authenticated
  • Stats: 8 total changes (+8 / -0)

Changed Files

  • src/routes/profile/+layout.server.js — +8 / -0 (8 changes)