fixed missing isGuest info in the return of the user info from the front API wrapper, added a warning pop over when clicking disconnect while using a guest account

This commit is contained in:
Clément Le Bihan
2023-04-10 01:13:12 +02:00
parent 2f19c0e547
commit 9d5060fc31
2 changed files with 54 additions and 7 deletions
+1
View File
@@ -160,6 +160,7 @@ export default class API {
name: (user.username ?? user.name) as string,
email: user.email as string,
premium: false,
isGuest: user.isGuest as boolean,
data: {
partyPlayed: user.partyPlayed as number,
xp: 0,