check old auth bearer for logged in status as well
This commit is contained in:
parent
463b0fa28a
commit
8a525aee8a
|
@ -137,7 +137,9 @@ namespace Bit.App.Services
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _cryptoService.Key != null && !string.IsNullOrWhiteSpace(_tokenService.Token) &&
|
return _cryptoService.Key != null &&
|
||||||
|
(!string.IsNullOrWhiteSpace(_tokenService.Token) ||
|
||||||
|
!string.IsNullOrWhiteSpace(_tokenService.AuthBearer)) &&
|
||||||
!string.IsNullOrWhiteSpace(UserId);
|
!string.IsNullOrWhiteSpace(UserId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue