diff --git a/frontend/src/routes/profile/+page.svelte b/frontend/src/routes/profile/+page.svelte
index 1d120b55..842a5bf8 100644
--- a/frontend/src/routes/profile/+page.svelte
+++ b/frontend/src/routes/profile/+page.svelte
@@ -502,7 +502,8 @@
}
}
- async function onConnectSso() {
+ async function onConnectSso(e: SubmitEvent) {
+ e.preventDefault();
ssoBusy = true;
try {
const url = await startOidcLink();
@@ -517,7 +518,8 @@
}
}
- async function onDisconnectSso() {
+ async function onDisconnectSso(e: SubmitEvent) {
+ e.preventDefault();
const ok = await confirmDialog({
title: t('profile.sso_disconnect_confirm_title', 'Disconnect Single Sign-On?'),
message: t(
@@ -1069,8 +1071,8 @@
email-match on link, no-alternative-auth refusal on unlink.
-->
{#if canConnectSso}
-
+
+
{t('common.loading', 'Loading…')}