summaryrefslogtreecommitdiff
path: root/pinyadmin/sbin/newuser
diff options
context:
space:
mode:
Diffstat (limited to 'pinyadmin/sbin/newuser')
-rwxr-xr-xpinyadmin/sbin/newuser2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyadmin/sbin/newuser b/pinyadmin/sbin/newuser
index eeb5617..e6dd785 100755
--- a/pinyadmin/sbin/newuser
+++ b/pinyadmin/sbin/newuser
@@ -127,7 +127,7 @@ if ( not defined $password or $password eq "" ) { print "Password is undefi
# Here on down is the actual creation code.
my $config = Piny::Config->new( );
-my $dest = $config->piny_newuseremail;
+my $dest = $config->piny_adminemail;
unless( open( MAIL, "|/usr/lib/sendmail -t" ) ) {
die "Couldn't execute sendmail: $!\n";