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

support lockout after several unsuccessful login attempts

This commit is contained in:
Luke Pulverenti 2015-02-28 08:43:06 -05:00
parent af26d6f9cb
commit 0b9a2a1232
3 changed files with 31 additions and 7 deletions

View file

@ -6,6 +6,12 @@
currentUser = user;
if (user.Policy.IsDisabled) {
$('.disabledUserBanner', page).show();
} else {
$('.disabledUserBanner', page).hide();
}
if (user.ConnectLinkType == 'Guest') {
$('#fldConnectInfo', page).hide();
$('#txtUserName', page).prop("disabled", "disabled");