This commit is contained in:
Emmanuel Viennet 2021-10-10 21:09:27 +02:00
parent e6e1835cca
commit 179442aa69
2 changed files with 15 additions and 16 deletions

View File

@ -459,7 +459,8 @@ def check_modif_user(
"%s %s (pseudo=%s)" % (x.prenom, x.nom, x.user_name) "%s %s (pseudo=%s)" % (x.prenom, x.nom, x.user_name)
for x in similar_users for x in similar_users
] ]
) + MSG_OPT, )
+ MSG_OPT,
) )
# Roles ? # Roles ?
return True, "" return True, ""

View File

@ -391,9 +391,7 @@ def create_user_form(user_name=None, edit=0, all_roles=1):
roles=vals["roles"], roles=vals["roles"],
) )
if not ok: if not ok:
H.append( H.append(tf_error_message(msg))
tf_error_message(msg)
)
return "\n".join(H) + "\n" + tf[1] + F return "\n".join(H) + "\n" + tf[1] + F
if "date_expiration" in vals: if "date_expiration" in vals: