Our setup:

  1. I set a custom front page under /admin/settings. (e.g. "overview")
  2. This page is only viewable to authenticated users.
  3. Logintoboggan is set to present login form on access denied (403)
  4. After login user should get redirectet to the custom front page

If you start with
www.example.com/overview
everything is fine.

If you start with
www.example.com/
you get www.example.com/node

I change line 619 in loggintoboggan.module
from
$destination = 'node';
to
$destination = variable_get('site_frontpage', 0);

Everything is fine again.

Thanks for the great module!

CommentFileSizeAuthor
ltb_front.patch544 byteskje

Comments

hunmonk’s picture

Status: Needs review » Fixed

ah, good catch. i don't like defaulting to '0', though. i made the default 'node' instead, as this is the front page in the case where that var isn't set, and i think having a false val there might cause probs. fixed in all versions of the module

Anonymous’s picture

Status: Fixed » Closed (fixed)