mirror of https://gitee.com/bigwinds/arangodb
Just no
This commit is contained in:
parent
1e6b346db7
commit
8373c04c1a
|
@ -109,16 +109,6 @@ router.post('/login', function (req, res) {
|
|||
`);
|
||||
|
||||
|
||||
router.get('/unauthorized', function(req, res) {
|
||||
res.throw('unauthorized');
|
||||
})
|
||||
.error('unauthorized')
|
||||
.summary('Unauthorized')
|
||||
.description(dd`
|
||||
Responds with a HTTP 401 response.
|
||||
`);
|
||||
|
||||
|
||||
const authRouter = createRouter();
|
||||
router.use(authRouter);
|
||||
|
||||
|
|
Loading…
Reference in New Issue