abhinav22 / RRS

1 stars 0 forks source link

Login #2

Closed hantsy closed 11 years ago

hantsy commented 11 years ago

A user can login by inputting correct email and password in the login form, if login failed, return to the login page. if login successfully, go to the user's home page, at the same time, display the user name and a logout action button in the top right area.

By default, when user navigate the home url "/", if he has not logged in, direct to the register page, like github.com. If he has logged in, direct to the user's home page.

If u has logged in, and navigate the login via "/login" url directly, redirect to the user's home page.

hantsy commented 11 years ago

done