1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

handle users logging in locally with Emby Connect

This commit is contained in:
Luke Pulverenti 2017-01-15 17:52:59 -05:00
parent ba2ccfb17a
commit b614bbcf09
3 changed files with 8 additions and 8 deletions

View file

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.117", "version": "1.1.118",
"_release": "1.1.117", "_release": "1.1.118",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.117", "tag": "1.1.118",
"commit": "96f1537d9200dd5450fc75665edbc3563be4bef7" "commit": "e43c750bd0a2cdb109e4b12ae561960118381e51"
}, },
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git", "_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51", "_target": "^1.1.51",

View file

@ -2618,9 +2618,10 @@
var url = self.getUrl("Users/authenticatebyname"); var url = self.getUrl("Users/authenticatebyname");
require(["cryptojs-sha1"], function () { require(["cryptojs-sha1", "cryptojs-md5"], function () {
var postData = { var postData = {
password: CryptoJS.SHA1(password || "").toString(), Password: CryptoJS.SHA1(password || "").toString(),
PasswordMd5: CryptoJS.MD5(password || "").toString(),
Username: name Username: name
}; };

View file

@ -274,8 +274,7 @@
playFromHere: true, playFromHere: true,
action: 'playallfromhere', action: 'playallfromhere',
smallIcon: true, smallIcon: true,
artist: true, artist: true
addToListButton: true
}); });
break; break;