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:
commit
19177f7f6e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue