Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
8be948623b ci: only run on push
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
prevents duplicate CIs from running at the same time
2025-07-22 18:55:57 +02:00
82e0e59617
fix: logout not working due to use of outdated HTTP method
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-21 12:33:21 +02:00
b07a0aa5a0 Merge pull request 'Implement invite redemption page' (#54) from invite-page into main
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
Reviewed-on: #54
Reviewed-by: Twig <git@beaver.mom>
2025-07-20 09:15:52 +00:00
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@ steps:
- pnpm build
when:
- event: push
- event: pull_request
- name: container-build-and-publish
image: docker

View file

@ -41,7 +41,7 @@ export const useAuth = () => {
async function logout() {
console.log("access:", accessToken.value);
await fetchWithApi("/auth/logout", { method: "GET", credentials: "include" });
await fetchWithApi("/auth/logout", { method: "DELETE", credentials: "include" });
clearAuth();
return await navigateTo("/login");