Skip to content

Commit 523a1f3

Browse files
author
tom
committed
Added comment about basic auth
git-svn-id: http://api.rubyforge.org/svn/trunk@19 62ec42e5-5dfd-4264-b691-ab05b53cdb76
1 parent 3508aa1 commit 523a1f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/controllers/packages_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def ensure_has_package_create
3232

3333
def current_user
3434
@current_user ||= User.authenticate(params[:username], params[:password])
35+
# TODO switch to basic auth, see
36+
# http://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Basic/ControllerMethods.html#M000375
3537
end
3638

3739
def record_api_request

0 commit comments

Comments
 (0)