mirror of
https://github.com/bitwarden/android.git
synced 2025-01-12 11:17:30 +03:00
check yubico token length == 44
This commit is contained in:
parent
a2bac9d368
commit
0b249d4dd4
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
var token = (string)message.Data;
|
var token = (string)message.Data;
|
||||||
if(_vm.YubikeyMethod && !string.IsNullOrWhiteSpace(token) &&
|
if(_vm.YubikeyMethod && !string.IsNullOrWhiteSpace(token) &&
|
||||||
token.Length > 40 && !token.Contains(" "))
|
token.Length == 44 && !token.Contains(" "))
|
||||||
{
|
{
|
||||||
Device.BeginInvokeOnMainThread(async () =>
|
Device.BeginInvokeOnMainThread(async () =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue