{"issue":{"title":"New Authentication Token everytime","created_at":"2011-12-23T21:25:19Z","user":{"login":"bryanrite","id":829668,"url":"https://api.github.com/users/bryanrite","gravatar_id":"63cef612114e8da8502b0f5729a9e06d","avatar_url":"https://secure.gravatar.com/avatar/63cef612114e8da8502b0f5729a9e06d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"updated_at":"2011-12-23T21:25:19Z","state":"open","labels":[],"id":2650391,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/mojolingo/errbit/issues/1","body":"When I was trying to setup authentication with both email and username, I ran into a roadblock where authenticating with the email address always generated a new auth token.  The \"user account\" generated by errbit would use this auth token to distinguish the user.  So everytime you tried to login with your email, you'd really be creating a new account... and since there is a different bug that is not setting up a session the first time you log in, you will never get logged in.  This does not happen when you use your username.\r\n\r\nI didn't spend much time on it past finding this out since its a simple internal thing, but I wanted to make note of it.\r\n\r\nI've gotten around it in a **real** dirty javascript hack.","number":1,"url":"https://api.github.com/repos/mojolingo/errbit/issues/1","comments":0,"assignee":null},"action":"opened"}