[typo] can't login after upgrade

Dick Davies rasputnik at gmail.com
Wed Nov 23 04:55:44 EST 2005


Before you do that, try resetting the password from the console:

$ ./script/console production
Loading production environment.
>> you = User.find_by_name('yourusername')
=> #<User:0x8f8baa4 @attributes={"name"=>"yourusername", "id"=>"1",........
>> you.password = you.password_confirmation = 'newpassword'
=> "newpassword"
>> you.save
=> true
>> quit


On 23/11/05, Kevin Ballard <kevin at sb.org> wrote:
> I haven't tried it, but I've heard that if you delete the user from
> the database (TRUNCATE TABLE users) then on next access it prompts
> you to create a new user.
>
> On Nov 22, 2005, at 2:59 PM, jeremy*pinnix wrote:
>
> > By the way, the rest of the site is working okay, it's just the admin
> > that won't let me in.
> >
> > On 11/22/05, jeremy*pinnix <jpinnix.alt at gmail.com> wrote:
> >
> >> I just upgraded from 2.5.5 to 2.6.0 and now I can't log in. It just
> >> says the Login unsuccessful. Any idea on how to get around this?
>
> --
> Kevin Ballard
> kevin at sb.org
> http://www.tildesoft.com
> http://kevin.sb.org
>
>
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
>
>
>


--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/



More information about the Typo-list mailing list