Commit 96780888 authored by mercury233's avatar mercury233

auth key

parent 3d50831e
......@@ -15,6 +15,7 @@
"enable_websocket_roomlist": false,
"redis_port": 6379,
"mycard_auth": false,
"mycard_auth_key": "please set in config.user.json",
"hang_timeout": 90,
"tournament_mode": {
"enabled": false,
......
......@@ -931,7 +931,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
baseUrl: settings.modules.mycard_auth,
url: '/users/' + encodeURIComponent(client.name) + '.json',
qs:
api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc',
api_key: settings.modules.mycard_auth_key,
api_username: client.name,
skip_track_visit: true
json: true
......
......@@ -1137,7 +1137,7 @@
baseUrl: settings.modules.mycard_auth,
url: '/users/' + encodeURIComponent(client.name) + '.json',
qs: {
api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc',
api_key: settings.modules.mycard_auth_key,
api_username: client.name,
skip_track_visit: true
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment