userPassword
"Paul Wolstenholme" <paul-lVtV+q5f9oyCpuvbwG9LCbDks+cytr/[email protected]>
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
In the userAdd function of ispman/lib/ISPMan/UserMan.pm, is it
possible to get an unencrypted version of the users password.
I tried calling it before encryptPassWithMethod but it seems to be
set somewhere previously:
my $_password;
if ( defined $self->{'Config'}->{'cyrusAutoCreate'} ) {
$_password = $r->param("userPassword");
}
# lets crypt the pass
my $userpassword = $self->encryptPassWithMethod(
$r->param("userPassword"),
$self->getConf('userPassHashMethod') );
$r->param( "userPassword", $userpassword );
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m