Browse Source

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


git-svn-id: http://svn.redmine.org/redmine/trunk@16544 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Toshi MARUYAMA 7 years ago
parent
commit
e45e29eb96
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/user.rb

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

@@ -430,7 +430,7 @@ class User < Principal
def delete_autologin_token(value)
Token.where(:user_id => id, :action => 'autologin', :value => value).delete_all
end
# Returns true if token is a valid session token for the user whose id is user_id
def self.verify_session_token(user_id, token)
return false if user_id.blank? || token.blank?

Loading…
Cancel
Save