In urllogin.inc line 300 there is an issue that prevented proper redirection after login.

there is a variable assignement instead of a comparison

if ($uid = -2) {

had to be changed to

if ($uid == -2) {

probably just a typo.

CommentFileSizeAuthor
#2 redirect.patch497 bytesowen barton

Comments

andrewfn’s picture

Assigned: Unassigned » andrewfn

Thanks for spotting that! I will correct it right away.

owen barton’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new497 bytes

Here is a patch for the above code - tested and it seems to work fine, so RTBC.

andrewfn’s picture

Status: Reviewed & tested by the community » Fixed

Thanks very much!
I have applied the fix to the 6.x version as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.