diff options
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 |