mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
trim email
This commit is contained in:
parent
d57d583076
commit
920f4fc525
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue