summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py9
1 files changed, 5 insertions, 4 deletions
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):