enzostvs HF staff commited on
Commit
0a4b979
·
1 Parent(s): 22d2310

wip signin

Browse files
Files changed (1) hide show
  1. src/lib/stores/use-user.ts +1 -1
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.location.href = "/api/auth/login";
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) => {