Skip to content

netlifyIdentity.currentUser() always returns null unless in on event handler #355

@SteveALee

Description

@SteveALee

The only time I get a non null value back from netlifyIdentity.currentUser() is in an .on() handler when it is redundant as user is passed to the function anyway.

how do we get the current user info any other time? Other than doing a deep copy of the user object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions