** Save the referer. We record where the user came from such
** that we/ can redirect him after having completed the login
** form.
*/
if(empty($edit)){
$edit["destination"]=request_uri();
}
// NOTE: special care needs to be taken because on pages with forms, such as node and comment submission pages, the $edit variable might already be set.
** Save the referer. We record where the user came from such
** that we/ can redirect him after having completed the login
** form.
*/
if(empty($edit)){
$edit["destination"]=request_uri();
}
// NOTE: special care needs to be taken because on pages with forms, such as node and comment submission pages, the $edit variable might already be set.