Displaying 1 result from an estimated 1 matches for "user_is_viewing_themselves".
2007 Dec 12
1
why is authenticate_with_http_basic undefined?
...uthenticated_user = User.authenticate(user, pass)
end
return true
end
#Filter for actions that _require_ authentication. Unless client
authenticated
# as some user, takes over the request and sends a response code of
401.
def must_authenticate
if @authenticated_user && (@user_is_viewing_themselves != false)
return true
else
request_http_basic_authentication
return false
end
end
I get a NOMETHODERROR
undefined method `request_http_basic_authentication'' for
#<OrdersController:0x478cc5c>
when i tried this url
http://localhost:3001/v1/users/permalink...