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
|
@ -122,7 +122,11 @@
|
|||
imgUrl = 'css/images/userflyoutdefault.png';
|
||||
}
|
||||
|
||||
html += '<div class="cardImage" style="background-image:url(\'' + imgUrl + '\');">';
|
||||
var imageClass = 'cardImage';
|
||||
if (user.Policy.IsDisabled) {
|
||||
imageClass += ' disabledUser';
|
||||
}
|
||||
html += '<div class="' + imageClass + '" style="background-image:url(\'' + imgUrl + '\');">';
|
||||
|
||||
if (user.ConnectUserId && addConnectIndicator) {
|
||||
html += '<div class="playedIndicator" title="' + Globalize.translate('TooltipLinkedToMediaBrowserConnect') + '"><div class="ui-icon-cloud ui-btn-icon-notext"></div></div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue