Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/5429

Vanessa2fad03e0286e
diff --git a/app/stage/auth.html b/app/stage/auth.html
index c63176e759..ce221fc29f 100644
--- a/app/stage/auth.html
+++ b/app/stage/auth.html
@@ -458,7 +458,7 @@
})
captchaElement.previousElementSibling.addEventListener('click', function () {
- this.src = '/api/system/getCaptcha'
+ this.src = `/api/system/getCaptcha?v=${new Date().getTime()}`
})
const submitAuth = () => {
@@ -477,7 +477,7 @@
}
if (response.code === 1) {
- captchaElement.previousElementSibling.src = '/api/system/getCaptcha'
+ captchaElement.previousElementSibling.src = `/api/system/getCaptcha?v=${new Date().getTime()}`
captchaElement.parentElement.style.display = 'block'
} else {
captchaElement.parentElement.style.display = 'none'