summaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-04-25 17:04:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-04-25 17:04:41 +0000
commite45e29eb96dcb4428db40241b2a4448d4e5ef9ff (patch)
treecca8a13380443333b58d5c817c3bfc027f67e0db /app/models/user.rb
parent1b0206ed62911bc54f4dcd583020a45b1f50c156 (diff)
downloadredmine-e45e29eb96dcb4428db40241b2a4448d4e5ef9ff.tar.gz
redmine-e45e29eb96dcb4428db40241b2a4448d4e5ef9ff.zip
remove trailing white-space from app/models/user.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16544 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index f7a9c33bd..11b200f6b 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -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?