|
|
|
@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def authenticate(username, password)
|
|
|
|
def authenticate(username, password)
|
|
|
|
return true if username == "boston"
|
|
|
|
# return true if username == "boston"
|
|
|
|
authenticate_or_request_with_http_basic do |u, p|
|
|
|
|
authenticate_or_request_with_http_basic do |u, p|
|
|
|
|
u == username && p == password
|
|
|
|
u == username && p == password
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|