Skip to content

Sveltekit auth problem #9

@Edgallen

Description

@Edgallen

Sveltekit layouts are not safe for the auth purposes. Load functions in nested components can be accessed in nested children even if you're not authed. In order to fix that, you should use await parent() in each load function.

It may be a good idea to use hooks for that purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions