Added an API token for each User to use when making API requests. (#3920)
The API key will be displayed on My Account page with a link to reset or generate a new one. All existing users will have a token generated by the migration. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/my_controller.rb 13 additions, 0 deletionsapp/controllers/my_controller.rb
- app/models/user.rb 12 additions, 0 deletionsapp/models/user.rb
- app/views/my/_sidebar.rhtml 20 additions, 2 deletionsapp/views/my/_sidebar.rhtml
- app/views/my/account.rhtml 12 additions, 0 deletionsapp/views/my/account.rhtml
- config/locales/en.yml 7 additions, 0 deletionsconfig/locales/en.yml
- db/migrate/20091221004949_add_api_keys_for_users.rb 13 additions, 0 deletionsdb/migrate/20091221004949_add_api_keys_for_users.rb
- test/functional/my_controller_test.rb 34 additions, 0 deletionstest/functional/my_controller_test.rb
- test/unit/user_test.rb 51 additions, 1 deletiontest/unit/user_test.rb
Please register or sign in to comment