fix keyring email check
This commit is contained in:
parent
c88718d1b6
commit
69bf01fb86
|
@ -67,7 +67,7 @@ Keyring.prototype.clear = function() {
|
|||
function emailCheck(email, key) {
|
||||
email = email.toLowerCase();
|
||||
var keyEmails = key.getUserIds();
|
||||
for (var i; i < keyEmails.length; i++) {
|
||||
for (var i = 0; i < keyEmails.length; i++) {
|
||||
//we need to get just the email from the userid key
|
||||
keyEmail = keyEmails[i].split('<')[1].split('>')[0].trim().toLowerCase();
|
||||
if (keyEmail == email) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user