update components

This commit is contained in:
Luke Pulverenti 2016-07-28 16:21:54 -04:00
parent a6c9cc632b
commit d6b60682be
10 changed files with 76 additions and 53 deletions

View file

@ -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: {