mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-20 07:10:35 -04:00
Merge pull request #1998 from onionshare/mig/fix-moat-again
Go back to expecting moat-bridges after captcha submission
This commit is contained in:
commit
fa5e2380f4
1 changed files with 3 additions and 3 deletions
|
@ -289,7 +289,7 @@ class MoatThread(QtCore.QThread):
|
|||
self.bridgedb_error.emit()
|
||||
return
|
||||
if moat_res["data"][0]["type"] != "moat-challenge":
|
||||
self.common.log("MoatThread", "run", f"type != moat-challange")
|
||||
self.common.log("MoatThread", "run", f"type != moat-challenge")
|
||||
self.bridgedb_error.emit()
|
||||
return
|
||||
|
||||
|
@ -351,8 +351,8 @@ class MoatThread(QtCore.QThread):
|
|||
self.captcha_error.emit(errors)
|
||||
return
|
||||
|
||||
if moat_res["data"][0]["type"] != "moat-challenge":
|
||||
self.common.log("MoatThread", "run", f"type != moat-challenge")
|
||||
if moat_res["data"][0]["type"] != "moat-bridges":
|
||||
self.common.log("MoatThread", "run", f"type != moat-bridges")
|
||||
self.bridgedb_error.emit()
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue