@0l00000l/auth
v1.0.14
Published
``` import aauth from '@0l00000l/auth';
Downloads
24
Readme
routes
import aauth from '@0l00000l/auth';
router.post(
'/login',
aauth.login,
);
router.post(
'/logout',
aauth.logout,
);
router.post(
'/verify-email',
aauth.verifyEmail,
);
router.post(
'/forgot-password',
aauth.forgotPassword,
);
router.post(
'/reset-password',
aauth.resetPassword,
);
authMiddleware
aauth.authMiddleware