Handle an unauthorized request
31 32 33 34 35
# File 'lib/midb/serverengine_controller.rb', line 31 def unauth_request @http_status = "401 Unauthorized" MIDB::Interface::Server.info(:no_auth) MIDB::Interface::Server.json_error(401, "Unauthorized").to_json end