remove any spaces from authenticator code

This commit is contained in:
Kyle Spearrin 2016-11-26 18:48:35 -05:00
parent 2c05b3b89f
commit 8f99d80ac1

View file

@ -136,7 +136,7 @@ namespace Bit.App.Pages
var request = new TokenTwoFactorRequest var request = new TokenTwoFactorRequest
{ {
Code = CodeCell.Entry.Text, Code = CodeCell.Entry.Text.Replace(" ", ""),
Provider = "Authenticator", Provider = "Authenticator",
Device = new DeviceRequest(_appIdService, _deviceInfoService) Device = new DeviceRequest(_appIdService, _deviceInfoService)
}; };