Skip extra step of checking keys

This commit is contained in:
Rogerio Chaves 2020-04-16 22:20:31 +02:00
parent 52a329135e
commit 4a634ee2ae
No known key found for this signature in database
GPG Key ID: E6AF5440509B1D94
2 changed files with 1 additions and 12 deletions

View File

@ -239,7 +239,7 @@ router.post("/keys/email", async (req, res) => {
};
await sgMail.send(msg);
res.render("keys_sent");
res.redirect("/");
});
router.get("/keys/copy", (req, res) => {

View File

@ -1,11 +0,0 @@
<%- include('_header', { hideHeader: true }) %>
<div style="max-width: 800px; margin: 0 auto">
<h1 style="padding-top: 50px">Email Sent</h1>
<p style="padding: 20px 0">Now open it to be sure you received, hit back if you didn't to try again.</p>
<a href="/">Continue to profile</a>
</div>
<%- include('_footer') %>