Update some travis stuff
This commit is contained in:
Родитель
475eb765ec
Коммит
fe47173078
|
@ -1,7 +1,7 @@
|
|||
language: node_js
|
||||
|
||||
addons:
|
||||
firefox: "39.0"
|
||||
firefox: "57.0"
|
||||
|
||||
sudo: false
|
||||
|
||||
|
@ -10,7 +10,7 @@ before_install:
|
|||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
||||
node_js:
|
||||
- '4'
|
||||
- '10'
|
||||
|
||||
script:
|
||||
- npm i
|
||||
|
|
|
@ -24,7 +24,7 @@ var DIFFERENT_BROWSER_ERROR = 3005;
|
|||
* OAuth Login, redirects to FxA
|
||||
*/
|
||||
router.get('/login', function(req, res) {
|
||||
var nonce = crypto.randomBytes(32).toString('hex'); // eslint-disable-line
|
||||
var nonce = crypto.randomBytes(32).toString('hex'); // eslint-disable-line
|
||||
oauthFlows[nonce] = true;
|
||||
req.session.state = nonce;
|
||||
return res.redirect(redirectUrl('signin', nonce));
|
||||
|
|
Загрузка…
Ссылка в новой задаче