update bug fix

This commit is contained in:
ari
2025-11-21 15:00:24 +07:00
parent 9ce103f38e
commit f40d25042b
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ const token = ref<string | null>(null);
const profile = ref<any>(null);
export function useKeycloak() {
const config = useRuntimeConfig()
const initKeycloak = async (onLoad: "login-required" | "check-sso" = "check-sso") => {
if (kc) return kc;
kc = new Keycloak({