Expired subscriptions login check happens before confirmed/approved check
When logging in with a plan that requires confirmation/approval before payment the checkExpireMe function in onDuringLogin will redirect the user away if "Allow Free Registered Users (without subscriptions)" is not set to "Yes" to accountexpired page and allows collecting payment despite user not being confirmed/approved. This shouldn't be happening. The checkExpireMe check should be done after onDuringLogin behavior is done with its checks.
Updated by beat over 1 year ago
- Assignee changed from krileon to beat
- Target version changed from 4.5.0 to 4.5.1
- % Done changed from 100 to 90
Looking at code there seems to be some edge cases, needing more careful review and tests before merging, so I will continue doing this after 4.5.0 release.