able to handle launcher login with gem

This commit is contained in:
bruckwubete
2018-07-04 14:48:22 -04:00
parent 2bb41977ed
commit 3c11aca1aa
6 changed files with 20 additions and 8 deletions

View File

@ -67,19 +67,19 @@ class User < ApplicationRecord
end
def bn_launcher_name(auth)
auth['user_info']['username']
auth['info']['name']
end
def bn_launcher_username(auth)
auth['user_info']['username']
auth['info']['username']
end
def bn_launcher_email(auth)
auth['user_info']['email']
auth['info']['email']
end
def bn_launcher_image(auth)
""
auth['info']['image']
end
end