diff options
Diffstat (limited to 'src/routes.js')
-rwxr-xr-x | src/routes.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/routes.js b/src/routes.js index 3d6902f..2cbec4f 100755 --- a/src/routes.js +++ b/src/routes.js @@ -23,6 +23,7 @@ import Event from "./models/Event.js"; import EventGroup from "./models/EventGroup.js"; import path from "path"; import { activityPubContentType } from "./lib/activitypub.js"; +import { hashString } from "./util/generator.js"; const config = getConfig(); const domain = config.general.domain; @@ -713,6 +714,7 @@ router.post("/attendevent/:eventID", async (req, res) => { siteLogo, domain, removalPassword: req.body.removalPassword, + removalPasswordHash: hashString(req.body.removalPassword), cache: true, layout: "email.handlebars", }, |