Browse Source

remove trailing white-space from app/models/user.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11954 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.4.0
Toshi MARUYAMA 11 years ago
parent
commit
cb140248ea
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/user.rb

+ 1
- 1
app/models/user.rb View File

@@ -167,7 +167,7 @@ class User < Principal
if user
# user is already in local database
return nil unless user.check_password?(password)
return nil if !user.active? && active_only
return nil if !user.active? && active_only
else
# user is not yet registered, try to authenticate with available sources
attrs = AuthSource.authenticate(login, password)

Loading…
Cancel
Save