I tried to replicated your error and what i found out is that you will get an...

Contribution Date
Technology
Contribution Project
Contribution Details

I tried to replicated your error and what i found out is that you will get an Access Denied error when the following options are enabled :

1. Register without Administrator Approval - which you have enabled.
2. Allow Immediate Login - from Logintoboggan
3. Set password - from Logintoboggan

This issue arises from the function step_access which verifies that the user who can register has to be an anonymous user but in this case, after the 1st step, you are already logged in and thus step_access function returns FALSE and hence you get that Access Denied error.

function step_access($step = STEP_REGISTER) { global $user; // Registration is available only for anonymous. if (!empty($user->uid)) { return FALSE; } // Get the registration process cache. $cache = StepCache::get('data'); return !empty($cache['uid']); }

Maybe you can fix this by disabling Set password in logintoboggan.

Issue Status
Active
Contribution Author
Files count
0
Patches count
0