Flitter-auth logout should call central logout method
This commit is contained in:
parent
ff5ed6b39a
commit
917fb28c89
@ -33,6 +33,11 @@ class Forms extends FormController {
|
||||
next_destination: '/',
|
||||
})
|
||||
}
|
||||
|
||||
async logout_provider_clean_session(req, res, next) {
|
||||
await req.user.logout(req)
|
||||
return next()
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = exports = Forms
|
||||
|
Loading…
Reference in New Issue
Block a user