Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

protected area in application_controller

  • Loading branch information...
commit 4753d66e4d0922eeeb4748e059e803d0b695e5cf 1 parent dfc7634
@mindreframer mindreframer authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/application_controller.rb
View
1  app/controllers/application_controller.rb
@@ -13,6 +13,7 @@ def convert_interval(hash)
hash.delete :interval_unit
end
+protected
def authenticate
if CFG[:user].present? and CFG[:password].present?
authenticate_or_request_with_http_basic do |id, password|
Please sign in to comment.
Something went wrong with that request. Please try again.