From 492f73257e6c87d84e4b25c49e4a392859d59b1c Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 26 Jan 2010 12:16:59 +0100 Subject: set 'Basic realm' to Opentox Ruby API Wrapper Auth --- lib/authorization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/authorization.rb') diff --git a/lib/authorization.rb b/lib/authorization.rb index 372d52b..4e4abe2 100644 --- a/lib/authorization.rb +++ b/lib/authorization.rb @@ -1,7 +1,7 @@ helpers do def protected! - response['WWW-Authenticate'] = %(Basic realm="Testing HTTP Auth") and \ + response['WWW-Authenticate'] = %(Basic realm="Opentox Ruby API Wrapper Auth") and \ throw(:halt, [401, "Not authorized\n"]) and \ return unless authorized? end -- cgit v1.2.3