|
|
|
@ -91,7 +91,7 @@ const useAuthStore = create((set, get) => ({
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
authenticate: async (usr, pwd) => {
|
|
|
|
|
const { onRefresh } = get()
|
|
|
|
|
const { initAuth } = get()
|
|
|
|
|
const { setStorage } = usingStorage()
|
|
|
|
|
|
|
|
|
|
const { token: loginToken } = await fetchLoginToken(usr, pwd)
|
|
|
|
|