Wrong logic of ForceLoginDialog causes gtk client can't login for fresh session
dmknght opened this issue · comments
Nong Hoang Tu commented
- Faraday GTK Client version: 0.1.0
- Python version: 3.9
- Operating System: Parrot OS 4.10
Description
In https://github.com/infobyte/faraday-client/blob/master/faraday_client/gui/gtk/application.py#L817, Faraday has check if user didn't login -> Force login using GTK dialog (related #5 ).
However, for totally new session, the config has no api_url
in user.xml
. Ofc everything works fine for current faraday_client version, but to make it be GUI login only (no terminal prompt) like #5, the dialog doesn't work at all
What I Did
- Disable terminal login in start_client
- Remove current session
- Start faraday_client
I'm testing some code and i'll create pull request for working code