mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Fixed redirections and errors
This commit is contained in:
@@ -70,5 +70,5 @@ class PermissionMiddleware:
|
||||
permitted__id__exact=request.user.id,
|
||||
)[0]
|
||||
except IndexError:
|
||||
return Http404(_("The selected organizer was not found or you "
|
||||
"have no permission to administrate it."))
|
||||
raise Http404(_("The selected organizer was not found or you "
|
||||
"have no permission to administrate it."))
|
||||
|
||||
Reference in New Issue
Block a user