mothership-ec / cog-user

User Cogule
Other
0 stars 1 forks source link

Better checks for user loading from session #49

Closed thomasjthomasj closed 9 years ago

thomasjthomasj commented 9 years ago

This PR should prevent the issue where sometimes a user is loaded as a string instead of a user instance. If the current user is loaded as a string, it is invalid and so the current user is logged out and anonymous