perf: Login confirm return failed (#13560)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2024-07-02 11:02:30 +08:00
committed by GitHub
parent 4733d89807
commit 5594b25ae0
2 changed files with 10 additions and 4 deletions

View File

@@ -163,9 +163,9 @@ $(document).ready(function () {
}).on('click', '.btn-return', function () {
cancelTicket();
cancelCloseConfirm();
setTimeout(() => {
window.location = "{% url 'authentication:login' %}"
}, 1000);
clearInterval(interval);
clearInterval(checkInterval);
window.location = "{% url 'authentication:logout' %}"
})
</script>