mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
add groups feature
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Copyright © 2019 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
|
||||
**/
|
||||
|
||||
var jwtutil = require('../../../util/jwtutil')
|
||||
var urlutil = require('../../../util/urlutil')
|
||||
|
||||
@@ -18,6 +22,7 @@ module.exports = function(options) {
|
||||
})
|
||||
.then(function() {
|
||||
req.session.jwt = data
|
||||
req.sessionOptions.httpOnly = false
|
||||
res.redirect(redir)
|
||||
})
|
||||
.catch(next)
|
||||
|
||||
Reference in New Issue
Block a user