can't fully login

dturnbull's Avatar


21 Oct, 2010 03:29 AM

I had a friend log in to and it showed him logged in and his gravitar. However, when I log in it just sends me to the home page and it looks as if I'm not logged in. Same computer and browser as my friend. I was able to successfully push a gem with that account and when I use the wrong password on the website it retries like you'd expect. I think there's some stuff on the website I may need to manage my gem so I'd appreciate any help getting my account repaired. The login name is the same as I use for help: [email blocked]. Thanks.

  1. 1 Posted by dturnbull on 26 Oct, 2010 07:50 PM

    dturnbull's Avatar

    live headers from a failed login

  2. 2 Posted by dturnbull on 04 Nov, 2010 06:55 AM

    dturnbull's Avatar

    I tracked this down to my user record not having any data in the remember_token field. Only someone with admin rights to the database can fix this. I need the following command run on a rails console:

    User.find_by_email('[email blocked]').reset_remember_token!


  3. Support Staff 3 Posted by Nick Quaranto on 04 Nov, 2010 01:52 PM

    Nick Quaranto's Avatar

    Ran it...does it work now? How did you track it down, what file(s) ? Thanks dude.

  4. 4 Posted by peterz on 04 Nov, 2010 02:54 PM

    peterz's Avatar

    I have the same issue could you run it for me too: [email blocked]

  5. 5 Posted by dturnbull on 04 Nov, 2010 03:12 PM

    dturnbull's Avatar

    It works! In the previously attached headers log you can see the cookie that gets this field is being set to empty string. I found this by exploring the gemcutter source and looking at that log.

  6. dturnbull closed this discussion on 04 Nov, 2010 03:17 PM.

  7. Support Staff 6 Posted by Nick Quaranto on 04 Nov, 2010 04:48 PM

    Nick Quaranto's Avatar

    Reset your token as well, peterz. Going to hunt this down in clearance, thanks for tracking it down!!

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac