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

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