Browse Source

Update CLI device login text.

Resolve #16911
pull/16914/head
maliming 3 years ago
parent
commit
a5da9b9c1e
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  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