[imp] $conf['user']['alternate_login']

Chuck Hagenbuch chuck@horde.org
Wed, 24 Oct 2001 13:12:22 -0400


Quoting Frederic Trudeau <ftrudeau@cam.org>:

> I included this ;
> 
> <?
> include_once('horde/imp/lib/base.php');
> Secret::setKey('imp');
> ?>
> 
> It worked one time, and one time only. Go figure.
> 
> Is this working on your side Chuck ?

This bare-bones script works for me:

<?php

define('IMP_BASE', './horde/imp');

require_once IMP_BASE . '/lib/base.php';

/* Initialize the password key. */
Secret::setKey('imp');

?>

<form action="<?= Horde::url('horde/imp/redirect.php') ?>" method="post"
name="implogin">
Username: <input type="text" name="imapuser" value="" /><br />
Password: <input type="password" tabindex="2" name="pass" /><br />
<input type="hidden" name="server" value="imap1">
<input type="submit">
</form>


-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin