Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post shows as favorited after logout #26

Open
JustinSainton opened this issue Nov 11, 2019 · 0 comments
Open

Post shows as favorited after logout #26

JustinSainton opened this issue Nov 11, 2019 · 0 comments

Comments

@JustinSainton
Copy link
Member

Goal:
Since we've disabled unauthenticated users, we'd like to ensure posts don't show as favorited once the user logs out.

Steps to replicate:
(On https://dinnerthendessert.com – not one I'm working on, just a live site I've replicated the issue on.)

Save a recipe
Recipe not saved; trigger login form
Login
Page refreshes; navigate to post and save
Log out
Page refreshes; navigate to post and recipe still in saved state
What is happening:
After logging out, the posts still shows to the user as "saved".

What I expected to happen:
All posts in an unsaved state, until I log in again, then fetch user meta.

Device & browser I'm you using:
Tested in Chrome, Version 76.0.3809.100 (Official Build) (64-bit), both profiled and incognito.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant