typescripting

This commit is contained in:
waveringana 2022-12-03 21:03:34 +00:00
parent d4a140dde7
commit 850a3bf4d2
7 changed files with 2364 additions and 120 deletions

View file

@ -57,6 +57,7 @@ router.post("/login/password", passport.authenticate("local", {
}));
router.post("/logout", function(req, res, next) {
// @ts-ignore, logout is already initalized in app.js
req.logout(function(err) {
if (err) {
return next(err);