This commit is contained in:
2025-09-03 16:44:57 +02:00
parent 4072377548
commit cfabf3c9f5
2 changed files with 2 additions and 3 deletions

View File

@ -68,8 +68,6 @@ import Spinner from '@/components/Spinner.vue'
import Captcha from '@/components/Captcha.vue'
const output = ref('')
const router = useRouter()
const route = useRoute()
const loading = ref(true)
const username = ref('')
const password = ref('')
@ -79,6 +77,7 @@ const captchaError = ref('')
const allowAccess = ref(false)
const interval = ref(null)
const status = ref('starting')
const errorMessage = ref('')
const POLL_MS = 5000
const ALLOWED_REDIRECTS = new Set(['/', '/login', '/signin'])
@ -103,6 +102,7 @@ async function checkStatus () {
} catch (error) {
loading.value = false
status.value = 'error'
console.log(error)
errorMessage.value = error?.data?.message || 'Internal server error!'
}
}