> I am putting together a plugin to add an IMSP addressbook to SquirrelMail.
> In order to log the user into the IMSP server, I need the username and
> password that they entered in the login.php page.
> If I understand what I am looking at when I read through the plugin.txt
> and look at several plugins, get_pref is the hook I would use to get the
> username but I do not see a mechanism to get the password. Can you help?
// get username variable
code from change_password plugin (part of SM 1.5.0).
// for decrypting current password
sqgetGlobalVar('key', $key, SQ_COOKIE);
$passwd = OneTimePadDecrypt($key, $onetimepad));