forked from OpenNeo/impress
whoops; if no contact neopets username, return nil
This commit is contained in:
parent
dd0a3cd350
commit
ebb0a75b72
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def contact_neopets_username
|
||||
contact_neopets_connection.neopets_username
|
||||
contact_neopets_connection.try(:neopets_username)
|
||||
end
|
||||
|
||||
def self.find_or_create_from_remote_auth_data(user_data)
|
||||
|
|
Loading…
Reference in a new issue