mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
remove duplicate instance methods sso_secret and sso_url
This commit is contained in:
@@ -23,11 +23,6 @@ Lint/ConstantDefinitionInBlock:
|
||||
- 'spec/validators/date_time_string_validator_spec.rb'
|
||||
- 'spec/validators/integer_array_validator_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
Lint/DuplicateMethods:
|
||||
Exclude:
|
||||
- 'lib/discourse/single_sign_on.rb'
|
||||
|
||||
# Offense count: 16
|
||||
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
||||
Lint/EmptyBlock:
|
||||
|
||||
@@ -12,7 +12,7 @@ module Discourse
|
||||
:suppress_welcome_message].freeze
|
||||
NONCE_EXPIRY_TIME = 10.minutes
|
||||
|
||||
attr_accessor(*ACCESSORS, :sso_secret, :sso_url)
|
||||
attr_accessor(*ACCESSORS)
|
||||
|
||||
def self.sso_secret
|
||||
raise "sso_secret not implemented on class, be sure to set it on instance"
|
||||
|
||||
Reference in New Issue
Block a user