[typo] With trunk, can no longer login as Admin
jake at whoisjake.com
Thu Apr 6 09:50:06 EDT 2006
This might not be the best way... but throw your blog into development
mode... try your OLD password, copy the hash and replace it in the db.
I didn't that when the hashes went bad after a migrate. Worked like a charm.
Gary Shewan wrote:
> On 6 Apr 2006, at 13:55, Phil Cryer wrote:
>> On Wed, 5 Apr 2006 19:32:15 -0400, "Kyle Heon" <kheon at comcast.net>
>>> I had an issue awhile back with a banged up migration that
>>> prevented me
>>> logging into the admin area as well.
>>> I fixed it by opening up a console and resetting my password. I'm
>>> sure you need to hash the password first but I believe the
>>> functions you
>>> need are all part of the LoginController.
>> Can you tell me how to do this, or is it documented somewhere? (I
>> don't see anything on Typo Trac about it). Thanks
> You could use phpmyadmin (or whatever you like) to delete your user
> from the user table ... if there aren't any users I'm pretty sure
> Typo let's you sign up with a new user.
> Look at /app/controllers/accounts_controller.rb - seems pretty
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list