Skip to content

Valid Parse.User.current() immediately after Parse.User.logOut() #882

Closed
@andresgarza

Description

@andresgarza

Retrieving the current user immediately after logging out still returns a valid User:

Parse.User.logOut();
Parse.User.current(); // returns previous User

I'm not entirely sure whether this is intended or not, as the code for logout does use currentUserAsync, but the documentation in the Developers Guide does imply that the current user should be null immediately after calling logOut:

screen shot 2016-03-07 at 12 27 19 am

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