Browse Source

Merge pull request #16914 from abpframework/cli-device-text

Update CLI device login text.
pull/16922/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
8641dc6c75
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs

5
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++)
{

Loading…
Cancel
Save