Open sumeetjain opened 9 years ago
Basic user authentication functionality for g-tracker was implemented with the sorcery gem. There are several issues to be cleaned up. And it seems some more may come up as we flesh out the functionality.
1.) The user is required to login after registering. We would like to user to go to her dashboard after registering without having to login right away.
2.) Any attempt to update the user result in errors that should not occur. First, "password is too short", but editing the password is not provided as an option right now. Second, "password confirmation can't be blank", but again this isn't even an option right now.
3.) On the login screen, the "back" button is currently goes to the 'user_sessions#index' action which doesn't exist but should go to the 'users#index' action which then renders the dashboard.
4.) Generally, a blending of user and admin functionality in the views. These need to be segregated.
Build authentication using the Sorcery gem.