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:
parent
af26d6f9cb
commit
0b9a2a1232
3 changed files with 31 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue