update components
This commit is contained in:
parent
a6c9cc632b
commit
d6b60682be
10 changed files with 76 additions and 53 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.1.68",
|
||||
"_release": "1.1.68",
|
||||
"version": "1.1.70",
|
||||
"_release": "1.1.70",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.1.68",
|
||||
"commit": "e70a2bf8680faf2b1f7ae59bf8fd97d7f969fc28"
|
||||
"tag": "1.1.70",
|
||||
"commit": "7d03528fbb6d397ae53032e72e6230606e043b90"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||
"_target": "^1.1.51",
|
||||
|
|
|
@ -1318,14 +1318,20 @@
|
|||
|
||||
var md5 = getConnectPasswordHash(password);
|
||||
|
||||
var data = {
|
||||
email: email,
|
||||
userName: username,
|
||||
password: md5
|
||||
};
|
||||
|
||||
if (options.grecaptcha) {
|
||||
data.grecaptcha = options.grecaptcha;
|
||||
}
|
||||
|
||||
ajax({
|
||||
type: "POST",
|
||||
url: "https://connect.emby.media/service/register",
|
||||
data: {
|
||||
email: email,
|
||||
userName: username,
|
||||
password: md5
|
||||
},
|
||||
data: data,
|
||||
dataType: "json",
|
||||
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue