Skip to content

Remove raising another error and return the correct response/redirect

Mark Csurgay requested to merge fix-not-allowed-error into master

This should fix the "Not allowed" error that shows up. From my understanding if the token expired, currently even though the "PermissionDenied" exception was caught, another one got thrown. Instead of throwing another error, the response/redirect should be returned.

Merge request reports