Fix for missing token when checking for key connector migration (#1861)

This commit is contained in:
mp-bw 2022-03-24 15:53:12 -04:00 committed by GitHub
parent 4bd06d2393
commit 0796bf17ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -209,6 +209,10 @@ namespace Bit.Core.Services
{
await GetTokenAsync();
}
if (_accessTokenForDecoding == null)
{
return false;
}
var decoded = DecodeToken();
if (decoded?["amr"] == null)
{