mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Username log filter longer than 3 characters
This commit is contained in:
parent
0bf1329d03
commit
2a83502ca1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def filter_usernames(new_users=None):
|
|||
new_users = [user['username'] for user in users.Users().get_users()]
|
||||
|
||||
for username in new_users:
|
||||
if username.lower() not in ('local', 'guest') and len(username) >= 3 and username not in _FILTER_USERNAMES:
|
||||
if username.lower() not in ('local', 'guest') and len(username) > 3 and username not in _FILTER_USERNAMES:
|
||||
_FILTER_USERNAMES.append(username)
|
||||
|
||||
_FILTER_USERNAMES = sorted(_FILTER_USERNAMES, key=len, reverse=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue