Fix route

This commit is contained in:
René Preuß
2023-02-18 14:46:10 +01:00
parent 15c3d43831
commit e0c8c411a1

View File

@@ -45,7 +45,7 @@ export default async (options: ComposableOptions = {
accessToken.value = null;
user.value = null;
return navigateTo('/')
return navigateTo(authConfig.endpoints.logout || authConfig.redirect.logout)
}
const setBearer = async (token: string, tokenType: string, expires: number) => {