Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice