From 5ac3f242bcb359bc5e13ae42da3507e84157477b Mon Sep 17 00:00:00 2001 From: Stefan Richter Date: Sun, 23 Jan 2011 07:08:50 +0800 Subject: [PATCH] fixing bug .. now tests pass --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 3a11b461..b23b38ba 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -166,7 +166,7 @@ class User < ActiveRecord::Base if Tracks::Config.auth_schemes.include?('open_id') # hope the user enters the correct data - return candidate + return candidate if candidate.auth_type.eql?("open_id") end return nil