feat(#26): Add custom login form

This commit is contained in:
2026-01-01 08:39:33 +01:00
parent 99cecdbcb2
commit eb00dc74ce
14 changed files with 898 additions and 5 deletions

View File

@@ -30,10 +30,17 @@
definePageMeta({ auth: false, layout: 'auth' })
const { t: $t } = useI18n()
const { loggedIn, openInPopup } = useUserSession()
useSeoMeta({ title: $t('auth.login') })
watch(loggedIn, (isLoggedIn) => {
if (isLoggedIn) {
navigateTo('/')
}
})
function handleSignIn() {
navigateTo('/auth/keycloak', { external: true })
openInPopup('/auth/keycloak')
}
</script>