We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2719c79 commit 9f6340fCopy full SHA for 9f6340f
README.md
@@ -45,7 +45,7 @@ Set admin username and password in an initializer:
45
46
ApiDocServer.configure do |config|
47
config.authentication_proc = proc do |controller|
48
- authenticate_or_request_with_http_basic do |username, password|
+ controller.authenticate_or_request_with_http_basic do |username, password|
49
User.find_by(name: username, password: password)
50
end
51
0 commit comments