Skeleton: Some login logic fixes

This commit is contained in:
2025-02-17 22:56:03 +01:00
parent 04b69611a1
commit 4a1fcc6447
4 changed files with 25 additions and 21 deletions

View File

@ -11,7 +11,7 @@ export const ssr = false;
// It will populate the "user" attribute of each page's "data" object,
// so each page has access to the current user (or knows if no one is signed in).
export const load: LayoutLoad = async ({ fetch, depends }) => {
depends("data:graphics");
depends("data:graphics", "data:user");
return {
// User information (synchronous)