mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 09:58:27 +03:00
log out when checking account reivison if authentication issue
This commit is contained in:
parent
e71adbd26d
commit
a418fc810a
1 changed files with 6 additions and 0 deletions
|
@ -203,6 +203,12 @@ namespace Bit.App.Services
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(Application.Current != null && (accountRevisionDate.StatusCode == System.Net.HttpStatusCode.Forbidden
|
||||||
|
|| accountRevisionDate.StatusCode == System.Net.HttpStatusCode.Unauthorized))
|
||||||
|
{
|
||||||
|
MessagingCenter.Send(Application.Current, "Logout", (string)null);
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue