trim email

This commit is contained in:
Kyle Spearrin 2018-09-15 23:36:32 -04:00
parent d57d583076
commit 920f4fc525

View file

@ -194,7 +194,7 @@ namespace Bit.App.Pages
var kdf = Enums.KdfType.PBKDF2_SHA256;
var kdfIterations = 5000;
var normalizedEmail = EmailCell.Entry.Text.ToLower();
var normalizedEmail = EmailCell.Entry.Text.ToLower().Trim();
var key = _cryptoService.MakeKeyFromPassword(PasswordCell.Entry.Text, normalizedEmail, kdf, kdfIterations);
var encKey = _cryptoService.MakeEncKey(key);
var request = new RegisterRequest