[rt-users] Autoreply with fixed password

Valter Lelli Valter.Lelli at think3.com
Fri Mar 4 04:21:26 EST 2005


Hi all,

I would like to set the same password when a new user creates its first
ticket.
What is the right sintax to use in the autoreply template instead of
calling SetRandomPassowrd ?

        my $user = RT::User->new($RT::SystemUser);
        $user->Load($Transaction->CreatorObj->Id);
        my ($stat, $pass) = $user->SetRandomPassword();

Thanks in advance,
	Valter



More information about the rt-users mailing list