Skip to content
Snippets Groups Projects
Commit 381f2ae4 authored by Fabien Zucchet's avatar Fabien Zucchet
Browse files

temporarily disable login for admin routes

parent 29ab2e89
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use('/api', apiRouter);
app.use('/api/admin', oauth.authMiddleware, apiAdminRouter);
app.use('/api/admin', apiAdminRouter);
app.get('/api/login', function (req, res) {
res.redirect(oauth.getRedirectURI());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment