Add the client details back to the preferences page

This commit is contained in:
blitzmann
2018-05-13 13:27:49 -04:00
parent 86576581cd
commit e29ab817af
2 changed files with 85 additions and 11 deletions

View File

@@ -363,10 +363,18 @@ class EsiSettings(object):
return cls._instance
def __init__(self):
# SSO Mode:
# 0 - pyfa.io
# 1 - custom application
# LoginMode:
# 0 - Server Start Up
# 1 - User copy and paste data from website to pyfa
defaults = {"loginMode": 0, "clientID": "", "clientSecret": "", "timeout": 60}
defaults = {
"ssoMode": 0,
"loginMode": 0,
"clientID": "",
"clientSecret": "",
"timeout": 60}
self.settings = SettingsProvider.getInstance().getSettings(
"pyfaServiceEsiSettings",