diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-05 14:19:22 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-05 14:19:22 +0100 |
commit | 7c332ae610f7feca193ba50ea900f5a417681a7b (patch) | |
tree | e71f1ba6b8eb52f13c11289069d65288b17a111c /pyLoadGui.py | |
parent | py 2.5 fix -> removed import (diff) | |
download | pyload-7c332ae610f7feca193ba50ea900f5a417681a7b.tar.xz |
created unified authentication system (same data for webinterface an GUI/CLI, multiple accounts)
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-x | pyLoadGui.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py index e48370dfe..5018842ef 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -419,14 +419,14 @@ class main(QObject): coreparser = ConfigParser(self.configdir) if not coreparser.config: data["port"] = 7227 - data["user"] = "admin" - data["password"] = "pwhere" + data["user"] = "anonymous" + data["password"] = "anonymous" data["host"] = "127.0.0.1" data["ssl"] = False else: data["port"] = coreparser.get("remote","port") - data["user"] = coreparser.get("remote","username") - data["password"] = coreparser.get("remote","password") + data["user"] = "anonymous" + data["password"] = "anonymous" data["host"] = "127.0.0.1" data["ssl"] = coreparser.get("ssl","activated") @@ -450,7 +450,7 @@ class main(QObject): self.core = Core() thread.start_new_thread(self.core.start, (False,False)) self.connector.setAddr(("core", self.core)) - + self.startMain() self.notification.showMessage(_("connected to %s") % data["host"]) |