Commit ea2d47c3 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

Alias mails : seuls ceux finissant par @crans.org sont autorisés.

parent ee71be36
......@@ -1577,6 +1577,8 @@ class BaseProprietaire(BaseClasseCrans):
if '@' not in new:
new += '@crans.org'
else:
new = new.split('@')[0].lower() + '@crans.org'
if index != -1:
liste[index] = new
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment