sumeetjain / outcomes-tracker

0 stars 0 forks source link

When a user logs in the @user variable that is retrieved by OAuth should retrieve a name #66

Closed tsbutler closed 8 years ago

tsbutler commented 8 years ago

Right now, it returns the github_username, but the name field is left nil. Not sure what the origin of this issue is, but when you put a binding.pry into the sessions controller and interrogate the @user variable there. @user.name comes back nil.

halfghaninne commented 8 years ago

I decided against the name coming from GitHub in the initial build because often, folks have different names on their online accounts than what we have on file for them.