From a975038d0b0975ff2fa8aedce30c7a38a0bb13fa Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Mon, 4 Apr 2011 01:51:37 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=B8=80=E4=B8=AA=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/user.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 0fb6a20..13ba0d1 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -64,7 +64,6 @@ def self.create_from_hash(auth) return user end user.save - user.reset_persistence_token! #set persistence_token else sessions will not be created user end