···17171818 configurable :publisher_did, :hostname, :validate_responses, :enable_unsafe_auth
19192020- set :validate_responses, (environment != :production)
2121-2220 def self.set(property, value)
2321 if property.to_sym == :enable_unsafe_auth
2422 puts "==="
···2624 puts "Switch to get_posts(args, context) instead and get the user DID from: context.user.raw_did."
2725 puts "==="
2826 @enable_unsafe_auth = value
2727+ elsif property.to_sym == :validate_responses
2828+ puts "==="
2929+ puts "WARNING: option :validate_responses is deprecated and will be removed in version 0.3. " +
3030+ "Responses are now always validated, also in production."
3131+ puts "==="
2932 else
3033 super
3134 end