feat: (auth) Add ability to signup with e-mail
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user