Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
wip signin
Browse files
src/lib/stores/use-user.ts
CHANGED
@@ -5,7 +5,7 @@ import { writable } from "svelte/store";
|
|
5 |
export const userStore = writable<any>(null);
|
6 |
|
7 |
export const openWindowLogin = async () => {
|
8 |
-
window.
|
9 |
};
|
10 |
|
11 |
// export const loginFromCode = async (code: string) => {
|
|
|
5 |
export const userStore = writable<any>(null);
|
6 |
|
7 |
export const openWindowLogin = async () => {
|
8 |
+
window.open("/api/auth/login", "_blank");
|
9 |
};
|
10 |
|
11 |
// export const loginFromCode = async (code: string) => {
|