Fix warning message

This commit is contained in:
rhymes 2020-07-12 15:27:50 +02:00
parent 472b61045d
commit bb9a493791
No known key found for this signature in database
GPG Key ID: A3853C53AF667707
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module Rack
if options.key? :origin_whitelist
warn "Rack::Protection origin_whitelist option is deprecated and will be removed, " \
"use origin_whitelist instead.\n"
"use permitted_origins instead.\n"
end
permitted_origins = options[:permitted_origins] || options[:origin_whitelist]