8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-29 08:02:24 +00:00

Fix des bans

This commit is contained in:
Hugo LEVY-FALK 2018-02-20 22:23:52 +01:00 committed by root
parent 07d37932e9
commit 7016775931

View file

@ -358,7 +358,7 @@ def add_ban(request, user, userid):
request, request,
"Attention, cet utilisateur a deja un bannissement actif" "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 @login_required
@can_edit(Ban) @can_edit(Ban)