feat: (auth) Add ability to signup with e-mail

This commit is contained in:
2024-06-14 15:19:29 -04:00
parent fc035106d0
commit 1526a10630
7 changed files with 206 additions and 109 deletions

View File

@@ -48,8 +48,8 @@ export const useAuthStore = defineStore('auth', () => {
async function googleLogin() {
account.createOAuth2Session(
OAuthProvider.Google,
'https://undock.ca',
'https://undock.ca/#/login'
'https://oys.undock.ca',
'https://oys.undock.ca/login'
);
currentUser.value = await account.get();
}
@@ -57,8 +57,8 @@ export const useAuthStore = defineStore('auth', () => {
async function discordLogin() {
account.createOAuth2Session(
OAuthProvider.Discord,
'https://undock.ca',
'https://undock.ca/#/login'
'https://oys.undock.ca',
'https://oys.undock.ca/login'
);
currentUser.value = await account.get();
}