mirror of
1
Fork 0

[MODERATION] Fix unblock action (squash)

- Pass the whole context instead of only giving pieces.
- This fixes CSRF not correctly being inserted into the unblock buttons.

(cherry picked from commit 2aa51922ba)
(cherry picked from commit 7ee8db0f01)
(cherry picked from commit e4f8b999bc)
(cherry picked from commit 05aea60b13)
(cherry picked from commit dc0d61b012)
This commit is contained in:
Gusted 2023-09-17 19:32:02 +02:00 committed by Earl Warren
parent e166836433
commit f53fa583de
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</form> </form>
</div> </div>
<div class="ui attached segment"> <div class="ui attached segment">
{{template "shared/blocked_users_list" dict "locale" .locale "BlockedUsers" .BlockedUsers}} {{template "shared/blocked_users_list" .}}
</div> </div>
</div> </div>
{{template "org/settings/layout_footer" .}} {{template "org/settings/layout_footer" .}}

View File

@ -4,7 +4,7 @@
{{.locale.Tr "settings.blocked_users"}} {{.locale.Tr "settings.blocked_users"}}
</h4> </h4>
<div class="ui attached segment"> <div class="ui attached segment">
{{template "shared/blocked_users_list" dict "locale" .locale "BlockedUsers" .BlockedUsers}} {{template "shared/blocked_users_list" .}}
</div> </div>
</div> </div>
{{template "user/settings/layout_footer" .}} {{template "user/settings/layout_footer" .}}