typescripting
This commit is contained in:
parent
d4a140dde7
commit
850a3bf4d2
7 changed files with 2364 additions and 120 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue