check old auth bearer for logged in status as well

This commit is contained in:
Kyle Spearrin 2017-02-07 21:19:23 -05:00
parent 463b0fa28a
commit 8a525aee8a
1 changed files with 3 additions and 1 deletions

View File

@ -137,7 +137,9 @@ namespace Bit.App.Services
{
get
{
return _cryptoService.Key != null && !string.IsNullOrWhiteSpace(_tokenService.Token) &&
return _cryptoService.Key != null &&
(!string.IsNullOrWhiteSpace(_tokenService.Token) ||
!string.IsNullOrWhiteSpace(_tokenService.AuthBearer)) &&
!string.IsNullOrWhiteSpace(UserId);
}
}