mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
mfapi/apicalls/user_session.c: don't use hardcoded application_id
This commit is contained in:
@@ -65,11 +65,11 @@ mfconn_api_user_get_session_token(mfconn * conn, const char *server,
|
|||||||
|
|
||||||
post_args = strdup_printf("email=%s"
|
post_args = strdup_printf("email=%s"
|
||||||
"&password=%s"
|
"&password=%s"
|
||||||
"&application_id=35860"
|
"&application_id=%d"
|
||||||
"&signature=%s"
|
"&signature=%s"
|
||||||
"&token_version=2"
|
"&token_version=2"
|
||||||
"&response_format=json",
|
"&response_format=json",
|
||||||
username, password, user_signature);
|
username, password, app_id, user_signature);
|
||||||
free((void *)user_signature);
|
free((void *)user_signature);
|
||||||
|
|
||||||
http = http_create();
|
http = http_create();
|
||||||
|
|||||||
Reference in New Issue
Block a user