Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chapter_10/basic_auth/basic_auth.ru
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ use Rack::Auth::Basic, "Protected Realm" do |username, password|
# You could make a request to a user service here to see if the user is correct
# For apps that are not externally accessible, it's sometimes easier (though not quite as secure)
# to just have a standard username and pass:
username == "bobs_protection" && password = "bobs_sekret_pass"
username == "bobs_protection" && password == "bobs_sekret_pass"
end
run ProtectedApp.new