Skip to content

@_shield memoization doesn't remove authenticated state for user #24

Description

@christiankakesa

I use Shield in rack application with Syro. On logout, I suspect that @_shield memoization persist the authenticate state of user.

For now I remove @_shield memoization and it works :
https://github.com/fenicks/forgedtofight.io/blob/master/decks/basic_deck.rb#L9.

Is it safe to do so ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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