diff options
author | mr <mr@mrautenberg.de> | 2010-02-03 15:34:46 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2010-02-03 15:34:46 +0100 |
commit | 53d755065500701a46b2a3754dc1299febe79c43 (patch) | |
tree | 4e31b442582049eceb78a3f9cb257ea4ccee0c37 /lib/authorization.rb | |
parent | 1ed45e8676b1a2c183fc426afe3d22f63787ddcd (diff) |
change Basic realm text for http authentication
Diffstat (limited to 'lib/authorization.rb')
-rw-r--r-- | lib/authorization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authorization.rb b/lib/authorization.rb index 4e4abe2..7cb548e 100644 --- a/lib/authorization.rb +++ b/lib/authorization.rb @@ -1,7 +1,7 @@ helpers do def protected! - response['WWW-Authenticate'] = %(Basic realm="Opentox Ruby API Wrapper Auth") and \ + response['WWW-Authenticate'] = %(Basic realm="Opentox Webservice Authentication") and \ throw(:halt, [401, "Not authorized\n"]) and \ return unless authorized? end |