mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Add global allow guest access setting and per user toggles
This commit is contained in:
parent
4be41336b3
commit
62600a450a
7 changed files with 56 additions and 15 deletions
|
@ -39,7 +39,7 @@ def check_credentials(username, password):
|
|||
return True, u'admin'
|
||||
elif username == plexpy.CONFIG.HTTP_USERNAME and password == plexpy.CONFIG.HTTP_PASSWORD:
|
||||
return True, u'admin'
|
||||
elif user_login(username, password):
|
||||
elif plexpy.CONFIG.ALLOW_GUEST_ACCESS and user_login(username, password):
|
||||
return True, u'guest'
|
||||
else:
|
||||
return False, None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue