plotwist-app / plotwist

Open-source easy management and reviews of your movies, series and animes.
https://plotwist.app
226 stars 10 forks source link

Fix: If user is logged in he should not be able to see the home page for unlogged users. #102

Closed vmnog closed 3 months ago

vmnog commented 3 months ago

If user is logged in and he tries to access https://plotwist.app/pt-BR he should be redirect to https://plotwist.app/pt-BR/home until his session expires or he logouts.

One of the reasons of that is that it does not make sense to offer the membership plan if user already has the membership plan. image In this image the membership plan is being ofered to the user even though he is already logged in and he is a member.

lui7henrique commented 3 months ago

LGTM! I'll move this issue for currently Iterate.

lui7henrique commented 3 months ago

Resolved: https://github.com/status-451/plotwist/commit/e6d3611d005ccdcaa4aa1bc27a363fa23d058a2d