Fix bug where keyId was undefined in verifyRemove link

This commit is contained in:
Tankred Hase
2016-06-10 13:17:28 +02:00
parent cfb4b9bab0
commit 9be7feab04
3 changed files with 13 additions and 9 deletions

View File

@@ -70,8 +70,8 @@ class Email {
params: {
name: userId.name,
baseUrl: util.url(origin),
keyId: encodeURIComponent(keyId),
nonce: encodeURIComponent(userId.nonce)
keyId: keyId,
nonce: userId.nonce
}
};
return yield this._sendHelper(message);