fix(identity): switch user name reference to full_name (#1809)

This commit is contained in:
Christoph Schiessl 2018-10-26 21:21:26 +02:00 committed by Shawn Erquhart
parent f73f1e01c9
commit 55d45a812e

View File

@ -131,7 +131,7 @@ export default class GitGateway {
} }
const userData = { const userData = {
name: user.user_metadata.name || user.email.split('@').shift(), name: user.user_metadata.full_name || user.email.split('@').shift(),
email: user.email, email: user.email,
avatar_url: user.user_metadata.avatar_url, avatar_url: user.user_metadata.avatar_url,
metadata: user.user_metadata, metadata: user.user_metadata,