1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

clearup yubikey reading on ios

This commit is contained in:
Kyle Spearrin
2018-05-24 15:34:09 -04:00
parent d3003efe72
commit d3646e10a5
4 changed files with 24 additions and 8 deletions

View File

@@ -34,12 +34,10 @@ namespace Bit.iOS
foreach(var result in results)
{
Debug.WriteLine("READ TAG: " + result);
var matches = _otpPattern.Matches(result);
if(matches.Count > 0 && matches[0].Groups.Count > 1)
{
var otp = matches[0].Groups[1].ToString();
Debug.WriteLine("TAG IS MATCH: " + otp);
_callback.Invoke(true, otp);
return;
}