Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify logout function over different places #1516

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

ernstmul
Copy link
Contributor

What does this PR do?

Fix the not correctly working logout button on the account settings page as described in issue #1515

Have you read the Contributing Guidelines on issues?

import { Submit, trackEvent } from '$lib/actions/analytics';
import { base } from '$app/paths';

export async function logout() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@stnguyen90 stnguyen90 merged commit ac7b527 into main Nov 14, 2024
2 checks passed
@stnguyen90 stnguyen90 deleted the fix-logout-from-account-settings-page branch November 14, 2024 15:13
@stnguyen90 stnguyen90 linked an issue Nov 14, 2024 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: Redirect fails after logout
2 participants