From c22c64c348e1fd52cc88177c4b5ff099a30a62bd Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 17 Aug 2010 14:36:29 +0200 Subject: account update --- module/plugins/Account.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'module/plugins/Account.py') diff --git a/module/plugins/Account.py b/module/plugins/Account.py index af8b6ebe8..61101347d 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -57,12 +57,13 @@ class Account(): def getAccountInfo(self, name): return { - "validuntil": None, + "validuntil": None, # -1 for unlimited "login": name, - "password": self.accounts[name]["password"], + #"password": self.accounts[name]["password"], #@XXX: security "options": self.accounts[name]["options"], - "trafficleft": None, - "type": self.__name__ + "trafficleft": None, # -1 for unlimited + "maxtraffic": None, + "type": self.__name__, } def getAllAccounts(self): -- cgit v1.2.3