@@ -167,7 +167,7 class User < Principal | |||
|
167 | 167 | if user |
|
168 | 168 | # user is already in local database |
|
169 | 169 | return nil unless user.check_password?(password) |
|
170 |
return nil if !user.active? && active_only |
|
|
170 | return nil if !user.active? && active_only | |
|
171 | 171 | else |
|
172 | 172 | # user is not yet registered, try to authenticate with available sources |
|
173 | 173 | attrs = AuthSource.authenticate(login, password) |
General Comments 0
You need to be logged in to leave comments.
Login now