1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-27 21:53:57 +00:00

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

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);
}
}