|
|
@ -70,12 +70,20 @@ namespace Volo.Abp.Cli.Commands |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
await AuthService.LoginAsync( |
|
|
try |
|
|
commandLineArgs.Target, |
|
|
{ |
|
|
password, |
|
|
await AuthService.LoginAsync( |
|
|
organization |
|
|
commandLineArgs.Target, |
|
|
); |
|
|
password, |
|
|
|
|
|
organization |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
catch (Exception ex) |
|
|
|
|
|
{ |
|
|
|
|
|
Logger.LogError(ex.Message); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
Logger.LogInformation($"Successfully logged in as '{commandLineArgs.Target}'"); |
|
|
Logger.LogInformation($"Successfully logged in as '{commandLineArgs.Target}'"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|