Is it possible to make it an option so that the redirect depends on whether you're logged in or not? If not, then send to login?

Comments

hass’s picture

Category: feature » support
Status: Active » Fixed

If you redirect to a page that requires a login, drupal will show you the login form, isn't it? After you have logged in you will be forwarded by the login form to the previous destination. This is a core feature. Not sure what else you need here.

Anonymous’s picture

Right, for internal drupal pages, but doesn't do it an external pages. Basically my idea was to use this module and use the referring URL data to enact some features on my other sites, but only if they are members of the current site.

hass’s picture

The referer can be faked.

Anonymous’s picture

Yes, I am aware of that it can, but it's not a trivial task.

I haven't looked at the guts of the code, but I thought this feature could be more easily implemented here than on any of the other modules I've looked at. Although if it doesn't seem like a good fit to you, I can understand that.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Edited for clarity.