Skip to content

Commit d3b33bb

Browse files
authored
Merge pull request #23783 from abpframework/issue/3445
Added log out message after log out command
2 parents 8a574e2 + 653180b commit d3b33bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ public LogoutCommand(AuthService authService)
2121
Logger = NullLogger<LogoutCommand>.Instance;
2222
}
2323

24-
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
24+
public async Task ExecuteAsync(CommandLineArgs commandLineArgs)
2525
{
26-
return AuthService.LogoutAsync();
26+
await AuthService.LogoutAsync();
27+
28+
Logger.LogInformation("You are logged out.");
2729
}
2830

2931
public string GetUsageInfo()

0 commit comments

Comments
 (0)