small medium large xlarge

Generic-user-small
02 May 2010, 14:56
Jillika (2 posts)

Hi,

I followed all the steps in the book till: 11.3 Iteration F3: Limiting Access But now whenever I try to login with the user name and password given by me when i created a user while accessing : http://localhost:3000/users, I am unable to login. I keep getting the error: Invalid/user name/password.

Could anyone please help me out. My code is identical to what is done in the book till that step.

Thanks a ton in advance!

-j

Samr_small_pragsmall
03 May 2010, 03:03
Sam Ruby (634 posts)

Any chance you can copy/paste the source you have for User.authenticate and SessionsController.create?

Also, try skipping ahead momentarily to page 194 and creating a new administrative user.

You must be logged in to comment