mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Remove server_token from get_users
This commit is contained in:
parent
b905e0139c
commit
bd83c8d55c
2 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# This file is part of Tautulli.
|
# This file is part of Tautulli.
|
||||||
#
|
#
|
||||||
|
@ -674,7 +674,7 @@ class Users(object):
|
||||||
try:
|
try:
|
||||||
query = 'SELECT id AS row_id, user_id, username, friendly_name, thumb, custom_avatar_url, email, ' \
|
query = 'SELECT id AS row_id, user_id, username, friendly_name, thumb, custom_avatar_url, email, ' \
|
||||||
'is_active, is_admin, is_home_user, is_allow_sync, is_restricted, ' \
|
'is_active, is_admin, is_home_user, is_allow_sync, is_restricted, ' \
|
||||||
'do_notify, keep_history, allow_guest, server_token, shared_libraries, ' \
|
'do_notify, keep_history, allow_guest, shared_libraries, ' \
|
||||||
'filter_all, filter_movies, filter_tv, filter_music, filter_photos ' \
|
'filter_all, filter_movies, filter_tv, filter_music, filter_photos ' \
|
||||||
'FROM users WHERE deleted_user = 0'
|
'FROM users WHERE deleted_user = 0'
|
||||||
result = monitor_db.select(query=query)
|
result = monitor_db.select(query=query)
|
||||||
|
@ -698,7 +698,6 @@ class Users(object):
|
||||||
'do_notify': item['do_notify'],
|
'do_notify': item['do_notify'],
|
||||||
'keep_history': item['keep_history'],
|
'keep_history': item['keep_history'],
|
||||||
'allow_guest': item['allow_guest'],
|
'allow_guest': item['allow_guest'],
|
||||||
'server_token': item['server_token'],
|
|
||||||
'shared_libraries': item['shared_libraries'],
|
'shared_libraries': item['shared_libraries'],
|
||||||
'filter_all': item['filter_all'],
|
'filter_all': item['filter_all'],
|
||||||
'filter_movies': item['filter_movies'],
|
'filter_movies': item['filter_movies'],
|
||||||
|
|
|
@ -6064,7 +6064,6 @@ class WebInterface(object):
|
||||||
"is_restricted": 0,
|
"is_restricted": 0,
|
||||||
"keep_history": 1,
|
"keep_history": 1,
|
||||||
"row_id": 1,
|
"row_id": 1,
|
||||||
"server_token": "PU9cMuQZxJKFBtGqHk68",
|
|
||||||
"shared_libraries": "1;2;3",
|
"shared_libraries": "1;2;3",
|
||||||
"thumb": "https://plex.tv/users/k10w42309cynaopq/avatar",
|
"thumb": "https://plex.tv/users/k10w42309cynaopq/avatar",
|
||||||
"user_id": "133788",
|
"user_id": "133788",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue