(This was posted in another thread. Was told to repost under separate cover as own thread.)

i had to patch (or at least i think i had to) drupal_goto checks on destination ($_REQUEST['destination'] and $_REQUEST['edit']['destination']) in common.inc so that tests for value occur via isset, rather than via shorthand true/false.

the problem--at least with logintoboggan access denied login pages enabled, and with anonymous access totally disallowed, and destination slated for drupal root--is that drupal root (ie, null) would evaluate to false and hence cause redirect to user page upon successful login.

CommentFileSizeAuthor
drupal_goto_handle_drupal_root.patch572 bytesrmiotke

Comments

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)