mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-22 01:46:52 +01:00
fix bug. Using the access_token
query parameter is deprecated and will be removed July 1st, 2020. (c) Github
This commit is contained in:
parent
627490bbe6
commit
27676cabf0
@ -34,6 +34,7 @@ const github = new oauth.OAuth2(
|
|||||||
'login/oauth/authorize',
|
'login/oauth/authorize',
|
||||||
'login/oauth/access_token'
|
'login/oauth/access_token'
|
||||||
)
|
)
|
||||||
|
github.useAuthorizationHeaderforGET(true)
|
||||||
|
|
||||||
function validateProvider(req, res, next) {
|
function validateProvider(req, res, next) {
|
||||||
const { provider } = req.params
|
const { provider } = req.params
|
||||||
|
Loading…
Reference in New Issue
Block a user