1
0
mirror of https://github.com/bitwarden/web synced 2025-12-18 09:13:17 +00:00

normalize email with lowercase

This commit is contained in:
Kyle Spearrin
2016-10-10 22:40:44 -04:00
parent 440032ed4a
commit d49d2275d2
4 changed files with 9 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
$scope.processing = true;
var profile = authService.getUserProfile();
var newKey = cryptoService.makeKey(model.newMasterPassword, profile.email);
var newKey = cryptoService.makeKey(model.newMasterPassword, profile.email.toLowerCase());
var reencryptedSites = [];
var sitesPromise = apiService.sites.list({ dirty: false }, function (encryptedSites) {