fix: remove unused functions
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-12 22:56:56 +02:00
parent 36f21f7ff5
commit 9db9041048
No known key found for this signature in database
2 changed files with 1 additions and 25 deletions

View file

@ -44,7 +44,7 @@ export const useAuth = () => {
await fetchWithApi("/auth/logout", { method: "GET", credentials: "include" });
clearAuth();
return await navigateTo("/login");
return await navigateTo("/login");
}
async function revoke(password: string) {

View file

@ -88,30 +88,6 @@ async function selectInstance(e: Event) {
const form = reactive({
password: ""
});
async function logout(e: Event) {
e.preventDefault();
await auth.logout(form.password);
console.log("logout");
}
async function refresh(e: Event) {
e.preventDefault();
await auth.refresh();
console.log("refreshed");
}
async function getUser(e: Event) {
e.preventDefault();
await auth.getUser();
console.log("user:", auth.user.value);
}
async function showUser(e: Event) {
e.preventDefault();
console.log("user:", auth.user.value);
}
</script>
<style>