[imp] redirect.php based autologin again
Chuck Hagenbuch
chuck@horde.org
Mon, 22 Apr 2002 23:52:05 -0400
Quoting Liam Hoekenga <liamr@umich.edu>:
> +if (!isset($imapuser)) {
> + $imapuser = $GLOBALS['HTTP_SERVER_VARS']['REMOTE_USER'];
> + $pass = 'cheese';
> + if ($GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'] ==
> 'mojo.mail.umich.edu')
> {
> + $server = 'mojojojo';
> + } else {
> + $server = 'umce';
> + }
> +}
> +
> $imapuser = Horde::getFormData('imapuser');
> $pass = Horde::getFormData('pass');
You'll have to actually replace the Horde::getFormData('server') farther
down with the server you want.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
and justice is a good dream." - Tariq Ramadan