freedomofpress / securedrop-client

a Qt-based GUI for SecureDrop journalists 📰🗞️
GNU Affero General Public License v3.0
41 stars 39 forks source link

TypeError when username missing in Login #449

Closed sssoleileraaa closed 5 years ago

sssoleileraaa commented 5 years ago

Description

When the uesrname is missing and the user clicks "Sign In" the application crashes with this backtrace:

Traceback (most recent call last):
  File "freedomofpress/securedrop-client/securedrop_client/gui/widgets.py", line 1280, in validate
    self.controller.login(username, password, tfa_token)
  File "freedomofpress/securedrop-client/securedrop_client/logic.py", line 284, in login
    password, totp, self.proxy)
TypeError: __init__() missing 1 required positional argument: 'totp'
sssoleileraaa commented 5 years ago

Closing because this is no longer an issue.

it never was an issue except on my machine