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

Kevin Ballard kevin at sb.org
Thu Apr 6 11:59:58 EDT 2006

A fairly straightforward way is to run ./script/console (with  
RAILS_ENV=production if necessary) and then do

user = User.find(:first)
user.password = "your password here"
user.password_confirmation = "your password here"

On Apr 6, 2006, at 6:23 AM, Gary Shewan wrote:

> 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.

Kevin Ballard
kevin at sb.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/typo-list/attachments/20060406/a87aeaf5/attachment.bin 

More information about the Typo-list mailing list