Fix userdb to support passwords containing the ':' character

git-svn-id: https://kippo.googlecode.com/svn/trunk@197 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2011-02-06 07:55:35 +00:00
parent 950ac23907
commit 4fde1e5c52

View File

@@ -30,7 +30,7 @@ class UserDB:
if not line:
continue
(login, uid_str, passwd) = string.split(line, ':')
(login, uid_str, passwd) = line.split(':', 2)
uid = 0
try: