removes unused code

This commit is contained in:
James
2020-01-19 21:23:12 -05:00
parent 125f177e12
commit 2501cc6e3f

View File

@@ -10,8 +10,6 @@ const router = express.Router();
const authRoutes = (userConfig, User) => {
const auth = authRequestHandlers(userConfig, User);
const usernameField = userConfig.useAsUsername || 'email';
router
.route('/login')
.post(authValidate.login, auth.login);