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

View file

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