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

Gary Shewan gpsnospam at gmail.com
Thu Apr 6 09:23:00 EDT 2006


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. 


More information about the Typo-list mailing list