Bug Report
Current Behavior
The option "Force user to complete profile" only works when the browser reloads the page. In particular it works the first time right after sign up, but not with subsequent browsing of the forum, and the user can even submit posts.
Steps to Reproduce
- Create a new user. You are redirected to their profile as expected.
- But you can still browse around => problem
- Go to another page and Ctrl+R. You are redirected to their profile as expected.
Expected Behavior
The option says "Force user to complete profile". It implies the user cannot really do anything forum-related before they complete their profile. They should not be able to post or to go to another page than their profile once connected.
Environment
- Flarum version: 1.8.5
- Extension version: 2.1.4
- Webserver: Apache
- Hosting environment: shared
- PHP version: 8.2
- Browser: Firefox
This was done with all other extensions disabled.
Possible solution(s)
Find a way to apply middleware to ajax request ?
Bug Report
Current Behavior
The option "Force user to complete profile" only works when the browser reloads the page. In particular it works the first time right after sign up, but not with subsequent browsing of the forum, and the user can even submit posts.
Steps to Reproduce
Expected Behavior
The option says "Force user to complete profile". It implies the user cannot really do anything forum-related before they complete their profile. They should not be able to post or to go to another page than their profile once connected.
Environment
This was done with all other extensions disabled.
Possible solution(s)
Find a way to apply middleware to ajax request ?