Merge branch 'develop' into devTee
This commit is contained in:
commit
063db4e245
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ const authenticated = async () => ((await getToken()) ? true : false);
|
|||
|
||||
async function setAuthen(r: AuthResponse) {
|
||||
await setCookie(ACCESS_TOKEN, r.access_token, r.expires_in);
|
||||
window.location.href = "/login";
|
||||
window.location.href = "/";
|
||||
}
|
||||
|
||||
async function logout() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue