Skip to content
Snippets Groups Projects
Verified Commit e289531f authored by Mark's avatar Mark
Browse files

Change id var name to sid

parent 5a66a0ef
No related branches found
No related tags found
1 merge request!2Minimal frontend
Pipeline #1360 passed with stage
in 2 minutes and 26 seconds
......@@ -39,7 +39,7 @@ const authenticateWithToken = function (req, res, next) {
// Save our validated userinfo in the request object
// for use in other express.js middleware functions
req.user = {
id: userinfo.sid,
sid: userinfo.sid,
roles: userinfo[nuxtConfig.auth.scopeKey]
}
if ( userinfo.hasOwnProperty('preferred_username')){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment