diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 09d2b14..0000000 --- a/.husky/commit-msg +++ /dev/null @@ -1 +0,0 @@ -pnpm dlx commitlint --edit $1 \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 22c0347..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -pnpm run lint:lint-staged \ No newline at end of file diff --git a/package.json b/package.json index be5a08f..5e05c64 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "lint:eslint": "eslint --cache \"src/**/*.{vue,ts,js}\" --fix", "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --cache --fix", - "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.cjs", "commit": "git-cz", "clean:dev": "tsx scripts/clean-dev.ts" }, diff --git a/src/components/views/fa-login/backdrops/FaLoginLeftView.vue b/src/components/views/fa-login/backdrops/FaLoginLeftView.vue index 1b68c52..a56baa3 100644 --- a/src/components/views/fa-login/backdrops/FaLoginLeftView.vue +++ b/src/components/views/fa-login/backdrops/FaLoginLeftView.vue @@ -6,9 +6,9 @@

{{ siteTitle }}

-
+
diff --git a/src/components/views/fa-login/widgets/FaAuthTopBar.vue b/src/components/views/fa-login/widgets/FaAuthTopBar.vue index 3340661..be52da6 100644 --- a/src/components/views/fa-login/widgets/FaAuthTopBar.vue +++ b/src/components/views/fa-login/widgets/FaAuthTopBar.vue @@ -8,9 +8,9 @@

{{ siteTitle }}

-
+
diff --git a/src/views/module_system/auth/login/index.vue b/src/views/module_system/auth/login/index.vue index 3a5a1fe..181fd03 100644 --- a/src/views/module_system/auth/login/index.vue +++ b/src/views/module_system/auth/login/index.vue @@ -560,6 +560,9 @@ onMounted(async () => { await router.replace(resolveRedirectTarget(route.query)); return; } + if (configStore.configData.captcha_enable?.config_value === "true") { + // getCaptcha(); + } getCaptcha(); // voteTimer = setTimeout(showVoteNotification, 500); });