Skip to content
Snippets Groups Projects
Commit 60350fec authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

accept spaces in key input

parent 9bf0cdbb
No related branches found
No related tags found
No related merge requests found
Pipeline #9583 passed
......@@ -358,7 +358,7 @@ router.post("/key", (req, res) => {
});
}
} else {
return Key.GET_KEY(req.body.key, false).then((key) => {
return Key.GET_KEY(req.body.key.trim(), false).then((key) => {
return res.redirect(`${res.baseDir}/admin/key/${key.get_key()}`);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment