usehenri/henri

The app.authenticate is successful with a valid cookie even if user service returns error

reel opened this issue · 0 comments

reel commented

Steps to reproduce:

  1. Register a new user
  2. Delete user from database
  3. Restart application
  4. Reload page

Cookies validation will fail on server but the user will be authenticated with a null user on the client.