Update verify success message
This commit is contained in:
parent
12b65e0ce2
commit
9d4ab633af
@ -61,7 +61,7 @@ class REST {
|
|||||||
yield this._publicKey.verify(q);
|
yield this._publicKey.verify(q);
|
||||||
// create link for sharing
|
// create link for sharing
|
||||||
let link = util.url(util.origin(ctx), '/user/' + q.keyId.toUpperCase());
|
let link = util.url(util.origin(ctx), '/user/' + q.keyId.toUpperCase());
|
||||||
ctx.body = `<p>Key successfully verified!</p><p>Link to share your key: <a href="${link}" target="_blank">${link}</a></p>`;
|
ctx.body = `<p>Email address successfully verified!</p><p>Link to share your key: <a href="${link}" target="_blank">${link}</a></p>`;
|
||||||
ctx.set('Content-Type', 'text/html; charset=utf-8');
|
ctx.set('Content-Type', 'text/html; charset=utf-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user