We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3522c7e commit 843065cCopy full SHA for 843065c
1 file changed
lib/casserver/authenticators/sql_encrypted.rb
@@ -40,7 +40,8 @@ def generate_encryption_salt
40
41
def self.setup(options)
42
super(options)
43
- user_models.each { |auth_index, model| model.__send__(:include, EncryptedPassword) }
+ user_model = user_models[options[:auth_index]]
44
+ user_model.__send__(:include, EncryptedPassword)
45
end
46
47
def validate(credentials)
0 commit comments