mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 04:18:49 +01:00
fixing bug .. now tests pass
This commit is contained in:
parent
1c90b90909
commit
5ac3f242bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue