Skip to content

Commit

Permalink
fix: order of login verification
Browse files Browse the repository at this point in the history
  • Loading branch information
blueset committed Jan 17, 2022
1 parent 36a94c5 commit b73cee6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ Fixed
Known issue
-----------

2.0.7_ - 2022-01-16
===================

Fixed
-----
- Fixed order of login verification

2.0.6_ - 2022-01-13
===================

Expand Down Expand Up @@ -127,6 +134,7 @@ First release.
.. _2.0.4: https://ews.1a23.studio/compare/v2.0.3...v2.0.4
.. _2.0.5: https://ews.1a23.studio/compare/v2.0.4...v2.0.5
.. _2.0.6: https://ews.1a23.studio/compare/v2.0.5...v2.0.6
.. _2.0.7: https://ews.1a23.studio/compare/v2.0.7...v2.0.7
.. _#108: https://github.com/ehForwarderBot/efb-wechat-slave/issues/108
.. _#122: https://github.com/ehForwarderBot/efb-wechat-slave/issues/122
.. _#123: https://github.com/ehForwarderBot/efb-wechat-slave/issues/123
2 changes: 1 addition & 1 deletion efb_wechat_slave/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# coding: utf-8

__version__ = "2.0.6"
__version__ = "2.0.7.dev1"
2 changes: 1 addition & 1 deletion efb_wechat_slave/vendor/itchat/components/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def login(self, enableCmdQR=False, picDir=None, qrCallback=None,
else:
return # log in process is stopped by user
logger.info('Loading the contact, this may take a little while.')
self.verify_login()
self.web_init()
self.show_mobile_login()
self.get_contact(True)
self.verify_login()
if hasattr(loginCallback, '__call__'):
r = loginCallback()
else:
Expand Down

0 comments on commit b73cee6

Please sign in to comment.