Cascadia-Connections / gybitg

Get your Butt in the Gym
MIT License
1 stars 1 forks source link

Reroute after creating a new account, not to login page, but to manage index #101

Closed keithrutler closed 5 years ago

keithrutler commented 5 years ago

Currently, when a new account is created and the save button is pressed, the user is rerouted to the login page, but is actually logged in, and has access to the edit profile button at the top of the page. One of two things need to happen, either the user is not logged in after account creation and is taken to the login page, and will have to login with the recently given credentials; OR the user will be logged in after account creation and will be rerouted to the account manage page instead, since credentials have been given already. DoD: When the user does not get sent to the login page while being logged in, after creating their account, whether the user is coach or athlete.