mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added /users/public endpoint
This commit is contained in:
parent
a2ce0bdce6
commit
d423d7e446
3 changed files with 15 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
onPageShow: function () {
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var promise1 = ApiClient.getUsers({ IsHidden: false });
|
||||
var promise1 = ApiClient.getPublicUsers();
|
||||
var promise2 = ApiClient.getServerConfiguration();
|
||||
|
||||
$.when(promise1, promise2).done(function (response1, response2) {
|
||||
|
@ -76,6 +76,8 @@
|
|||
}).fail(function () {
|
||||
|
||||
$('#pw', '#loginPage').val('');
|
||||
$('#txtManualName', '#loginPage').val('');
|
||||
$('#txtManualPassword', '#loginPage').val('');
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue