--- logintoboggan/logintoboggan.module	2006-03-13 22:47:43.000000000 +0100
+++ logintoboggankje/logintoboggan.module	2006-03-13 22:56:05.000000000 +0100
@@ -616,7 +616,7 @@
 function logintoboggan_destination() {
   // Drupal has reset $_GET[q], so we need a workaround. Start with home page,
   // then try to determine the correct destination.
-  $destination = 'node';
+  $destination = variable_get('site_frontpage', 0);
   if ($internal_path = substr(request_uri(), strlen(base_path()))) {
 
     $uriarray = explode('/', $internal_path);
