Force Custom User Field Completion after Registration or Login

Force Custom User Field Completion after Registration or Login [Paid] v1.8.8

No permission to buy ($9.00)
This add-on breaks all external CSS and JS files.

It's due to the line:

Code:
$controller = \XF::app()->router()->routeToController(\XF::app()->request()->getRoutePath())->getController();

Because when you load css.php - \XF::app()->request()->getRoutePath() will return blank, which then fed into routeToController returns XF:Index.

This means the CSS file passes the controller check and then returns a redirect to account/account-details

I thought a quick bodge to skip quit out the function if the URI was css.php, but that's no good as there are many other possible files it could be that would all be affected.

@Wutime - this is a showstopper :(
 
Last edited:
Top Bottom