Fixes github login

This commit is contained in:
Mattias Granlund 2023-11-16 11:56:49 +01:00
parent 3e76504ded
commit d5f9216956

View File

@ -51,7 +51,7 @@
loaded = true;
cloud.user.get($user$?.access_token).then((cloudUser) => {
cloudUser.github_access_token = $user$?.github_access_token; // prevent overwriting with null
$user$ = cloudUser;
userService.set(cloudUser);
});
newName = $user$?.name || '';
}