Changeset 6700
- Timestamp:
- 05/08/07 06:09:14 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/http_authentication.rb
r6699 r6700 114 114 def authentication_request(controller, realm) 115 115 controller.headers["WWW-Authenticate"] = %(Basic realm="#{realm.gsub(/"/, "")}") 116 controller. render:text => "HTTP Basic: Access denied.\n", :status => :unauthorized116 controller.send :render, :text => "HTTP Basic: Access denied.\n", :status => :unauthorized 117 117 return false 118 118 end