Skip to content

Instantly share code, notes, and snippets.

@whtswrng
Created November 7, 2018 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whtswrng/d22b8996b27a2c81b8cd673a903b6ac3 to your computer and use it in GitHub Desktop.
Save whtswrng/d22b8996b27a2c81b8cd673a903b6ac3 to your computer and use it in GitHub Desktop.
if (response.statusCode === 200) {
return res
.status(200)
.header('set-cookie', loginResponse.headers['set-cookie'])
.send();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment