Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yougotnet's avatar

authorizesrequests and user session timeout

I am using Policies to determine if a user has access to add, edit and delete records which is working fine. However, if a user session times out, the Policy returns a 403 Forbidden but it really just needs to redirect to the login page.

0 likes
0 replies

Please or to participate in this conversation.