prashantGyeser / letsdine

This is the main repository for the letsdine source code base. The community module of letsdine will be stored in a separate repo.
0 stars 0 forks source link

Going to a private event page without logging in, and then logging in to join the event fails #65

Open prashantGyeser opened 11 years ago

prashantGyeser commented 11 years ago

Steps to reproduce

1) Go to a private event show page without logging in to LetsDine. 2) Enter the number of seats and phone number. 3) Click join event 4) The login page will show up 5) Login with your email and password. 6) Click sign in.

The default error page will be show. "Oops something went wrong"


Cause

This is because private events have special urls, instead of the normal letsdine.co/events/event_name it has something like http://www.letsdine.co/events/5JImM8GLxZLNUbZqhPsvXA where the last part is a special token generated when the private event is created

When a user signs in and tries to go back to the event page they are taken to the default event url i.e. letsdine.co/events/event_name instead of letsdine.co/events/token

The user needs to be taken back to letsdine.co/events/token when the event is private