From c668ca7f379d00ffd8c60e3dc64a31fd252bbe32 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Tue, 9 May 2023 15:23:31 +0200 Subject: [PATCH] Added username switching --- web/pages/index.vue | 91 +++++++++++++++---- web/server/api/auth/user/index.js | 2 +- .../api/auth/user/setdefaultusername.js | 15 +++ web/server/api/discord/refreshusername.js | 23 +++++ web/server/utils/auth.js | 2 + 5 files changed, 116 insertions(+), 17 deletions(-) create mode 100644 web/server/api/auth/user/setdefaultusername.js create mode 100644 web/server/api/discord/refreshusername.js diff --git a/web/pages/index.vue b/web/pages/index.vue index 5103542..49fb6d7 100644 --- a/web/pages/index.vue +++ b/web/pages/index.vue @@ -1,22 +1,50 @@