1
0
Fork 0
This commit is contained in:
Alan Plum 2016-04-19 16:17:57 +02:00
parent 1e6b346db7
commit 8373c04c1a
No known key found for this signature in database
GPG Key ID: 8ED72A9A323B6EFD
1 changed files with 0 additions and 10 deletions

View File

@ -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);