[typo] With trunk, can no longer login as Admin

Jake Good jake at whoisjake.com
Thu Apr 6 10:03:43 EDT 2006


Err copy the hash out of the log/development.log file

Minor detail omission.

Jake Good wrote:
> 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.
>
> Jake
>
> 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>  
>>> wrote:
>>>     
>>>       
>>>> I had an issue awhile back with a banged up migration that  
>>>> prevented me
>>>> from
>>>> logging into the admin area as well.
>>>>
>>>> I fixed it by opening up a console and resetting my password. I'm  
>>>> pretty
>>>> 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  
>> straightforward. 
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>>   
>>     
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
>   


More information about the Typo-list mailing list