mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Don't allow guests to refresh poster images
This commit is contained in:
parent
8c6e142314
commit
03de680915
1 changed files with 3 additions and 1 deletions
|
@ -3217,7 +3217,9 @@ class WebInterface(object):
|
|||
logger.error('No image input received.')
|
||||
return
|
||||
|
||||
refresh = True if refresh == 'true' else False
|
||||
if refresh:
|
||||
mo = member_of('admin')
|
||||
refresh = True if mo() else False
|
||||
|
||||
if rating_key and not img:
|
||||
img = '/library/metadata/%s/thumb/1337' % rating_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue