mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-11 18:10:01 +08:00
fix: 修复自定义认证密码功能异常 (#771)
fix: 修复自定义认证密码功能异常的问题 - 修复前端属性名错误 (openSettings.auth -> openSettings.needAuth) - 修复 /open_api/settings 接口被自定义认证拦截的问题 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,7 @@ const apiFetch = async (path, options = {}) => {
|
||||
if (response.status === 401 && path.startsWith("/admin")) {
|
||||
showAdminAuth.value = true;
|
||||
}
|
||||
if (response.status === 401 && openSettings.value.auth) {
|
||||
if (response.status === 401 && openSettings.value.needAuth) {
|
||||
showAuth.value = true;
|
||||
}
|
||||
if (response.status >= 300) {
|
||||
|
||||
Reference in New Issue
Block a user