redirect user after login

greggles - June 11, 2009 - 23:45
Project:Plus 1
Version:6.x-2.6
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently when a user is logged out they may see a link like

<a href="/user">
Log in
<br/>
to vote
</a>

It would be nice if it went to

<a href="/user?destination=path/to/current/page">
Log in
<br/>
to vote
</a>

 
 

Drupal is a registered trademark of Dries Buytaert.