mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2025-12-20 01:01:13 +00:00
Added re-authentication after expiry to jf_api
This commit is contained in:
@@ -68,7 +68,10 @@ auth = HTTPBasicAuth()
|
||||
|
||||
accounts = {}
|
||||
|
||||
if not config.getboolean('ui', 'jellyfin_login'):
|
||||
if config.getboolean('ui', 'jellyfin_login'):
|
||||
log.debug('Using jellyfin for admin authentication')
|
||||
else:
|
||||
log.debug('Using configured login details for admin authentication')
|
||||
accounts['adminAccount'] = Account(config['ui']['username'],
|
||||
config['ui']['password'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user