From a5da9b9c1e9089724ba087a10bd1b563437f5cb8 Mon Sep 17 00:00:00 2001 From: maliming Date: Wed, 21 Jun 2023 09:33:44 +0800 Subject: [PATCH] Update CLI device login text. Resolve #16911 --- .../Abp/IdentityModel/IdentityModelAuthenticationService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs index 32952a7050..6f5f8eda95 100644 --- a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs +++ b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs @@ -245,8 +245,9 @@ public class IdentityModelAuthenticationService : IIdentityModelAuthenticationSe throw new AbpException(response.ErrorDescription); } - Logger.LogInformation($"First copy your one-time code: {response.UserCode}"); - Logger.LogInformation($"Open {response.VerificationUri} in your browser..."); + Logger.LogInformation($"Open your browser, go to: \"{response.VerificationUri}\""); + Logger.LogInformation($"and enter the following one-time code:"); + Logger.LogInformation(response.UserCode); for (var i = 0; i < ((response.ExpiresIn ?? 300) / response.Interval + 1); i++) {