mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Allow refreshing images if not using sessions
This commit is contained in:
parent
1f23654735
commit
a322ec2b23
1 changed files with 1 additions and 2 deletions
|
@ -3289,8 +3289,7 @@ class WebInterface(object):
|
||||||
|
|
||||||
refresh = False
|
refresh = False
|
||||||
if kwargs.get('refresh'):
|
if kwargs.get('refresh'):
|
||||||
mo = member_of('admin')
|
refresh = False if get_session_user_id() else True
|
||||||
refresh = True if mo() else False
|
|
||||||
|
|
||||||
kwargs['refresh'] = refresh
|
kwargs['refresh'] = refresh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue