Skip to content

Commit 3522c7e

Browse files
committed
Fix how SQLAuthLogic and SQLRestAuth fetch their user model class.
1 parent 73b89bb commit 3522c7e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/casserver/authenticators/sql_authlogic.rb

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

52-
user_model = self.class.user_model
53-
5452
username_column = @options[:username_column] || "login"
5553
password_column = @options[:password_column] || "crypted_password"
5654
salt_column = @options[:salt_column]

lib/casserver/authenticators/sql_rest_auth.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ def validate(credentials)
2727
raise CASServer::AuthenticatorError, "You must specify a 'site_key' in the SQLRestAuth authenticator's configuration!" unless @options[:site_key]
2828
raise CASServer::AuthenticatorError, "You must specify 'digest_streches' in the SQLRestAuth authenticator's configuration!" unless @options[:digest_streches]
2929

30-
user_model = self.class.user_model
31-
3230
username_column = @options[:username_column] || "email"
3331

3432
log_connection_pool_size

0 commit comments

Comments
 (0)