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:
parent
ba2ccfb17a
commit
b614bbcf09
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue