Skip to content

Commit

Permalink
Use email_provider? at sync_uid (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatov08 authored and MaicolBen committed Jan 19, 2019
1 parent 7eeed86 commit 1254483
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def email_provider?
end

def sync_uid
self.uid = email if provider == 'email'
self.uid = email if email_provider?
end
end

0 comments on commit 1254483

Please sign in to comment.