Skip to content

Commit 653180b

Browse files
committed
Added logout message
1 parent 8a574e2 commit 653180b

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)