From 7c332ae610f7feca193ba50ea900f5a417681a7b Mon Sep 17 00:00:00 2001 From: mkaay Date: Sat, 5 Feb 2011 14:19:22 +0100 Subject: created unified authentication system (same data for webinterface an GUI/CLI, multiple accounts) --- pyLoadGui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pyLoadGui.py') 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"]) -- cgit v1.2.3