"You are not authorized to perform this action" after login
Invoice Ninja version
5.13.4
Environment
Shared hosting
Interface
Both
Can you reproduce the issue on one of our demo sites?
Not applicable
Pre-flight checks
- I have reviewed the troubleshooting documentation.
- I have searched existing issues for duplicates.
Have you reported this issue on Slack or the forum?
No
Have you inspected the application logs?
Unable to inspect the logs
Describe the bug
From at least v5.13.37 upwards I get a "You are not authorized to perform this action" straight after logging in. Consequently the gets logged out after that, even before I can click on anything. This happens in the browser, the Android app and the Windows app.
I tried changing some of the settings in my .env-file (like changing from redis to file for session & cache driver), but nothing worked. After downgrading to v5.13.36, the problem disappeared, which leads me to believe something has changed in one of the last versions.
I couldn't find any logs in the /storage/logs/ directory unfortunately
Steps to reproduce
Enter login details and press "login"
Expected behavior
Logging in
Additional context
No response
Screenshots or screen recordings
No response
Relevant log output
Source: invoiceninja/invoiceninja