From: Toshi MARUYAMA Date: Tue, 25 Apr 2017 17:04:41 +0000 (+0000) Subject: remove trailing white-space from app/models/user.rb X-Git-Tag: 3.4.0~132 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e45e29eb96dcb4428db40241b2a4448d4e5ef9ff;p=redmine.git remove trailing white-space from app/models/user.rb git-svn-id: http://svn.redmine.org/redmine/trunk@16544 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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?