Fix external login failure error (#563)
This commit is contained in:
parent
7e1ec47b46
commit
255e18eb5e
2 changed files with 3 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ namespace LibationWinForms.Login
|
|||
{
|
||||
using var dialog = new LoginChoiceEagerDialog(_account);
|
||||
|
||||
if (!ShowDialog(dialog) || string.IsNullOrWhiteSpace(dialog.Password))
|
||||
if (!ShowDialog(dialog) || (dialog.LoginMethod is LoginMethod.Api && string.IsNullOrWhiteSpace(dialog.Password)))
|
||||
return null;
|
||||
|
||||
switch (dialog.LoginMethod)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue