##// END OF EJS Templates
remove trailing white-space from app/models/user.rb...
Toshi MARUYAMA -
r11724:cb140248eab9
parent child
Show More
@@ -167,7 +167,7 class User < Principal
167 if user
167 if user
168 # user is already in local database
168 # user is already in local database
169 return nil unless user.check_password?(password)
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 else
171 else
172 # user is not yet registered, try to authenticate with available sources
172 # user is not yet registered, try to authenticate with available sources
173 attrs = AuthSource.authenticate(login, password)
173 attrs = AuthSource.authenticate(login, password)
General Comments 0
You need to be logged in to leave comments. Login now