[horde] Autologin to Ingo

Michael M Slusarz slusarz at horde.org
Mon Jul 28 06:47:19 UTC 2014


Quoting Rick Romero <rick at havokmon.com>:

> I have my own form, but I want to pass known credentials to login to Horde
> without sending them to the browser.
>
> So I copied login.php and took my form vars and added them to the top:
>
> $_POST["login_post"]="1";
> //$_POST["anchor_string"]="";
> //$_POST["app"]="ingo";
> //$_GET["app"]="ingo";
> $_POST["url"]="/horde/ingo/basic.php?page=filters";
> $_GET["url"]="/horde/ingo/basic.php?page=filters";  //Why not try it..
> $_POST["new_lang"]="en_US";
> $_POST["horde_user"]="myusername";
> $_POST["horde_pass"]="mypassword";
> $_POST["_action"]="login" ;
> $_POST["horde_select_view"]="auto";
>
> I can login, but I'm not automatically redirected to Ingo, but my normal
> portal page.  It's driving me crazy, because the hidden 'url' parameter
> works from the form... What am I missing?  'app' never worked for me, just
> the 'url' param.

Horde doesn't use the $_POST variable.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list