- 🇦🇺Australia taggartj
I had Same thing in Drupal 10 version 10 Jan 2024 Where No other admin page would work or load
redirected back to user/1/edit
just reset passwordjust putting here to help people
Hey!
I'm trying to get hang of this module, but not really getting there.
No matter what I do, if I force acceptance, admin user is always redirected to edit page. If I leave that unchecked or check that redirect, nothing happens.
After some debugging, it seems that $_SESSION['pass_reset_1'] is present at all times, and the following lines to redirect no matter what:
if(!empty($_SESSION['pass_reset_' . $user->uid])) {
$is_reset = TRUE;
if(!empty($_GET['pass-reset-token'])) {
// Store token for the session.
$_SESSION['reset_token'] = check_plain($_GET['pass-reset-token']);
}
if($path != 'user/' . $user->uid . '/edit') {
drupal_goto('user/' . $user->uid . '/edit', array('query' => array('pass-reset-token' => $_SESSION['reset_token'])));
}
}
I have exempted "administrator" role from consent, but that has no effect. Exempt or not, I can access only user/edit and gdpr_consent paths.
Cheers,
Janne
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I had Same thing in Drupal 10 version 10 Jan 2024 Where No other admin page would work or load
redirected back to user/1/edit
just reset password
just putting here to help people