use cookie-session instead of memory

This commit is contained in:
lesion 2022-11-29 14:40:59 +01:00
parent d00ef15811
commit 7ee2d63824
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -1,6 +1,6 @@
const bodyParser = require('body-parser')
const cookieParser = require('cookie-parser')
const session = require('express-session')
const session = require('cookie-session')
const OAuthClient = require('../models/oauth_client')
const OAuthToken = require('../models/oauth_token')