8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 08:32:26 +00:00

Merge branch 'fix_ban' into 'master'

Fix des bans

See merge request federez/re2o!77
This commit is contained in:
klafyvel 2018-02-20 22:28:48 +01:00
commit 19177f7f6e

View file

@ -358,7 +358,7 @@ def add_ban(request, user, userid):
request,
"Attention, cet utilisateur a deja un bannissement actif"
)
return form({'userform': ban, 'action_name': 'Ajouter un ban'}, 'users/user.html', request)
return form({'userform': ban, 'action_name': 'Ajouter un ban'}, 'users/user.html', request)
@login_required
@can_edit(Ban)