Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 272 Bytes

File metadata and controls

13 lines (8 loc) · 272 Bytes

Documentation for Proguard

MiddleWares

LogInRequired

To use the logInRequired Middleware simply add it to the route like so:

  const { logInRequired } = require('../authentication/index')

  router.post('/admin/user', logInRequired, ...)