Browse Source

Merge pull request #23783 from abpframework/issue/3445

Added log out message after log out command
pull/23784/head
oykuermann 8 months ago
committed by GitHub
parent
commit
d3b33bbf70
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/LogoutCommand.cs

6
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/LogoutCommand.cs

@ -21,9 +21,11 @@ public class LogoutCommand : IConsoleCommand, ITransientDependency
Logger = NullLogger<LogoutCommand>.Instance; Logger = NullLogger<LogoutCommand>.Instance;
} }
public Task ExecuteAsync(CommandLineArgs commandLineArgs) public async Task ExecuteAsync(CommandLineArgs commandLineArgs)
{ {
return AuthService.LogoutAsync(); await AuthService.LogoutAsync();
Logger.LogInformation("You are logged out.");
} }
public string GetUsageInfo() public string GetUsageInfo()

Loading…
Cancel
Save