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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
2 deletions
-
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; |
|
|
|
} |
|
|
|
|
|
|
|
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() |
|
|
|
|