Correctifs sur le précédent commit, et prise en compte dans mkhome.

This commit is contained in:
Pierre-Elliott Bécue 2015-02-18 20:43:10 +01:00
parent 962d9df0f3
commit da71e80be1
3 changed files with 6 additions and 4 deletions

View file

@ -117,7 +117,7 @@ class home:
try:
login, oldLogin, oldHome = args.split(",")
if login:
adh = CONN.search("uid=%s" % (uid,))['adherent'][0]
adh = CONN.search("login=%s" % (login,))['adherent'][0]
home = adh.home()
uid = adh.uidNumber()
mail_redirect = adh.email_exterieur()