Update delete link
parent
98769782cc
commit
77a1710954
|
@ -62,7 +62,7 @@ router.get(
|
||||||
)
|
)
|
||||||
|
|
||||||
router.get(
|
router.get(
|
||||||
'^/:address/delete/:uid([0-9]+$)',
|
'^/:address/:uid([0-9]+$)/delete',
|
||||||
sanitizeAddress,
|
sanitizeAddress,
|
||||||
async (req, res, next) => {
|
async (req, res, next) => {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<a href="/inbox/{{ address }}">
|
<a href="/inbox/{{ address }}">
|
||||||
← Return to inbox</a>
|
← Return to inbox</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="/inbox/{{ address }}/delete/{{ uid }}">
|
<a href="/inbox/{{ address }}/{{ uid }}/delete">
|
||||||
Delete Email</a>
|
Delete Email</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="/logout">
|
<a href="/logout">
|
||||||
|
|
Loading…
Reference in New Issue