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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs
|
|
@ -245,8 +245,9 @@ public class IdentityModelAuthenticationService : IIdentityModelAuthenticationSe |
|
|
throw new AbpException(response.ErrorDescription); |
|
|
throw new AbpException(response.ErrorDescription); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Logger.LogInformation($"First copy your one-time code: {response.UserCode}"); |
|
|
Logger.LogInformation($"Open your browser, go to: \"{response.VerificationUri}\""); |
|
|
Logger.LogInformation($"Open {response.VerificationUri} in your browser..."); |
|
|
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++) |
|
|
for (var i = 0; i < ((response.ExpiresIn ?? 300) / response.Interval + 1); i++) |
|
|
{ |
|
|
{ |
|
|
|