Flitter-auth logout should call central logout method

This commit is contained in:
2020-08-23 14:50:00 -05:00
parent ff5ed6b39a
commit 917fb28c89

View File

@@ -33,6 +33,11 @@ class Forms extends FormController {
next_destination: '/', next_destination: '/',
}) })
} }
async logout_provider_clean_session(req, res, next) {
await req.user.logout(req)
return next()
}
} }
module.exports = exports = Forms module.exports = exports = Forms