summaryrefslogtreecommitdiff
path: root/lib/authorization.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/authorization.rb')
-rw-r--r--lib/authorization.rb2
1 files changed, 1 insertions, 1 deletions
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