Skip extra step of checking keys
This commit is contained in:
parent
52a329135e
commit
4a634ee2ae
|
@ -239,7 +239,7 @@ router.post("/keys/email", async (req, res) => {
|
||||||
};
|
};
|
||||||
await sgMail.send(msg);
|
await sgMail.send(msg);
|
||||||
|
|
||||||
res.render("keys_sent");
|
res.redirect("/");
|
||||||
});
|
});
|
||||||
|
|
||||||
router.get("/keys/copy", (req, res) => {
|
router.get("/keys/copy", (req, res) => {
|
||||||
|
|
|
@ -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') %>
|
|
Loading…
Reference in New Issue