# User and password verification (login form)

**URL:** <https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612>\
**Category:** Rails\
**Created:** [May 8, 2007, 1:17pm UTC](https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612 "2007-05-08T13:17:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhaval](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Post date:** [May 8, 2007, 1:17pm UTC](https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612/1 "2007-05-08T13:17:15Z")

</div>

hello

I have created a registration form, from where the user is asked to fill  
the userid and password and is stored in the database

now i want to create a login page which will take the user and password  
and then verify with the database and if true then page 1 will open if  
false page 2 will open.

can ne one tell me the code for it

thanks…

---

<div class="post-metadata">

**Author:** ![dhaval](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Post date:** [May 8, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612/2 "2007-05-08T16:06:17Z")

</div>

dhaval wrote:

> hello
> 
> I have created a registration form, from where the user is asked to fill  
> the userid and password and is stored in the database
> 
> now i want to create a login page which will take the user and password  
> and then verify with the database and if true then page 1 will open if  
> false page 2 will open.
> 
> can ne one tell me the code for it
> 
> thanks…

[http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated](http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated)

---

<div class="post-metadata">

**Author:** ![dhaval](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Post date:** [May 8, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612/3 "2007-05-08T18:44:23Z")

</div>

My rate is $60/hour, minimum time charged is 8 hours. Let me know. 🙂

---

<div class="post-metadata">

**Author:** ![dhaval](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Post date:** [May 8, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/user-and-password-verification-login-form/103612/4 "2007-05-08T18:50:15Z")

</div>

Also, download some other Rails applications and see how their login  
stuff  
works. You can look at the admin parts of typo or mephisto and there’s  
probably several others as well.

On 5/8/07, Chris H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > >
> 
> >

–  
Terry (TAD) Donaghe  
[http://tadspot.tumblr.com](http://tadspot.tumblr.com)
