Ver código fonte

버그 수정

2DU 8 anos atrás
pai
commit
3d0a7d665c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -39,7 +39,7 @@ def captcha_get():
 def captcha_post(num = 1):
     session = request.environ.get('beaker.session')
     if(num == 1):
-        if(re.search('\.|:', ip_check()) and session.get('Awaken') != 1):
+        if(re.search('\.|:', ip_check()) and session.get('Awaken') != 1 and captcha_get() != ''):
             return(1)
         else:
             return(0)