X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lmno.js;h=f5de9eb17228c10cac827ee87f468c7fa2fca7ad;hb=69982639f2cfd48fb9583856cbf407629e4f291e;hp=86306516878b1f68fd6d980ad9ea4e912692d053;hpb=808f638d7b86b8befcd9a5d3cd75b7e620d98206;p=empires-server diff --git a/lmno.js b/lmno.js index 8630651..f5de9eb 100644 --- a/lmno.js +++ b/lmno.js @@ -180,6 +180,7 @@ function auth_admin(request, response, next) { app.get('/logout', (request, response) => { request.session.user = undefined; + request.session.destroy(); response.send("You are now logged out."); });