Hello... I\'m trying to add an alert feature to the change password confirmaiton page which is run through perl. So far I\'m just trying to figure out what I need to modify and found referance in myapi.txt to how to do this.
I created the below file as cpanel/Cpanel/Passwd.pm but it does nto seem to work at all or even be activated. HOw can I get it to be run when a user chanegs their password?
[code:1:e1688fcbe5]#!/usr/bin/perl
# cpanel3 - Passwd.pm
package Cpanel::Passwd;
use strict;
use Carp;
use vars qw(@ISA @EXPORT $VERSION);
$VERSION = \'1.0\';
require 5.004;
sub change_password {
print \"lets od it\";
my ($user,$pass) = @_;
print \"$user is user and $pass is pass<BR>\";
}
1;[/code:1:e1688fcbe5]
I created the below file as cpanel/Cpanel/Passwd.pm but it does nto seem to work at all or even be activated. HOw can I get it to be run when a user chanegs their password?
[code:1:e1688fcbe5]#!/usr/bin/perl
# cpanel3 - Passwd.pm
package Cpanel::Passwd;
use strict;
use Carp;
use vars qw(@ISA @EXPORT $VERSION);
$VERSION = \'1.0\';
require 5.004;
sub change_password {
print \"lets od it\";
my ($user,$pass) = @_;
print \"$user is user and $pass is pass<BR>\";
}
1;[/code:1:e1688fcbe5]