chambres_vides: dé-harde les homes
This commit is contained in:
parent
6e8991239b
commit
e0ee29e139
2 changed files with 4 additions and 3 deletions
|
@ -2407,6 +2407,7 @@ class Adherent(BaseProprietaire):
|
|||
if mailexist(login):
|
||||
raise ValueError(u"Login existant ou correspondant à un alias mail.", 1)
|
||||
|
||||
# <!> b2moo: à fixer pour les homes
|
||||
home = '/home/' + login
|
||||
if os.path.exists(home):
|
||||
raise ValueError(u'Création du compte impossible : home existant', 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue