Added the ability to login via OpenID.
* Refactored AccountController#login to use either password or openid based authentication * Extracted AccountController#successful_authentication to setup a user's session cookies and redirect * Implemented the start of AccountController#open_id_authentication which will check with the OpenID server and perform authentication. * Added text field for the OpenID url to /login * Added identity_url for OpenID to the user forms. * Added option to login with OpenID to the register form. * Added a root url route, which is used by the OpenID plugin #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2442 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/account_controller.rb 58 additions, 17 deletionsapp/controllers/account_controller.rb
- app/views/account/login.rhtml 4 additions, 0 deletionsapp/views/account/login.rhtml
- app/views/account/register.rhtml 4 additions, 1 deletionapp/views/account/register.rhtml
- app/views/my/account.rhtml 1 addition, 0 deletionsapp/views/my/account.rhtml
- app/views/users/_form.rhtml 1 addition, 0 deletionsapp/views/users/_form.rhtml
- config/routes.rb 2 additions, 0 deletionsconfig/routes.rb
- lang/en.yml 2 additions, 0 deletionslang/en.yml
- public/images/openid-bg.gif 0 additions, 0 deletionspublic/images/openid-bg.gif
- public/stylesheets/application.css 2 additions, 0 deletionspublic/stylesheets/application.css
Please register or sign in to comment