fix(web): login captcha

This commit is contained in:
Baoshuo Ren 2022-03-16 05:36:10 +00:00 committed by GitHub
parent c525b570ad
commit 9ebd1ad7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,6 +149,8 @@ function submitLoginPost() {
} }
$(document).ready(function() { $(document).ready(function() {
refreshCaptcha();
$('#form-login').submit(function(e) { $('#form-login').submit(function(e) {
e.preventDefault(); e.preventDefault();
submitLoginPost(); submitLoginPost();