The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding to change password features..

Discussion in 'General Discussion' started by infinity, Sep 1, 2001.

  1. infinity

    infinity Member

    Aug 15, 2001
    Likes Received:
    Trophy Points:
    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/ 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?

    # cpanel3 -

    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>\";


Share This Page