Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Update SigninDialog.py #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bcloud/SigninDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def on_post_login(info, error=None):
verifycode = dialog.get_vcode()
codeString = dialog.codeString
dialog.destroy()
if not verifycode or len(verifycode) != 4:
if not verifycode or len(verifycode) == 0: # @poplite
self.signin_failed(_('Please input verification code!'))
return
else:
Expand Down