first attempt at login working without showing a server list
authorChuck Hagenbuch <chuck@horde.org>
Wed, 22 Jul 2009 01:14:40 +0000 (21:14 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 22 Jul 2009 01:14:40 +0000 (21:14 -0400)
imp/lib/api.php

index 03fcd50..8ab20b1 100644 (file)
@@ -595,6 +595,11 @@ function _imp_authLoginParams()
             'type' => 'select',
             'value' => $server_list
         );
+    } else {
+        $params['imp_server_key'] = array(
+            'type' => 'hidden',
+            'value' => IMP_Auth::getAutoLoginServer(),
+        );
     }
 
     /* If dimp/mimp are available, show selection of alternate views. */