Skip to content

Commit cd56752

Browse files
committed
Remove unnecessary variable assignment in SQLEncrypted.
1 parent 843065c commit cd56752

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/casserver/authenticators/sql_encrypted.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ def validate(credentials)
4848
read_standard_credentials(credentials)
4949
raise_if_not_configured
5050

51-
user_model = self.user_model
52-
5351
username_column = @options[:username_column] || "username"
5452
encrypt_function = @options[:encrypt_function] || 'user.encrypted_password == Digest::SHA256.hexdigest("#{user.encryption_salt}::#{@password}")'
5553

0 commit comments

Comments
 (0)