mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-24 22:56:26 -08:00
I FORGOR
This commit is contained in:
parent
6337521983
commit
dd39eff6b5
|
@ -45,7 +45,7 @@ fileApiRoutes.get("/list", (req,res) => {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
fileApiRoutes.post("/manage", (req,res) => {
|
fileApiRoutes.post("/manage", parser, (req,res) => {
|
||||||
|
|
||||||
if (!auth.validate(req.cookies.auth)) {
|
if (!auth.validate(req.cookies.auth)) {
|
||||||
ServeError(res, 401, "not logged in")
|
ServeError(res, 401, "not logged in")
|
||||||
|
|
Loading…
Reference in a new issue