1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

check yubico token length == 44

This commit is contained in:
Kyle Spearrin
2019-07-22 13:59:12 -04:00
parent a2bac9d368
commit 0b249d4dd4

View File

@@ -57,7 +57,7 @@ namespace Bit.App.Pages
{
var token = (string)message.Data;
if(_vm.YubikeyMethod && !string.IsNullOrWhiteSpace(token) &&
token.Length > 40 && !token.Contains(" "))
token.Length == 44 && !token.Contains(" "))
{
Device.BeginInvokeOnMainThread(async () =>
{