Use $config{maildomain} in update.cgi instead of hardcoded db.d.o.
authorPeter Palfrader <peter@palfrader.org>
Sat, 3 Jan 2015 12:49:39 +0000 (13:49 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 3 Jan 2015 12:49:39 +0000 (13:49 +0100)
debian/changelog
update.cgi

index 4eaf313..773f9af 100644 (file)
@@ -1,8 +1,9 @@
 userdir-ldap-cgi (0.3.40) UNRELEASED; urgency=medium
 
   * Add dependency on libcrypt-cbc-perl.
+  * Use $config{maildomain} in update.cgi instead of hardcoded db.d.o.
 
- -- Peter Palfrader <weasel@debian.org>  Sat, 03 Jan 2015 13:35:41 +0100
+ -- Peter Palfrader <weasel@debian.org>  Sat, 03 Jan 2015 13:49:22 +0100
 
 userdir-ldap-cgi (0.3.39) unstable; urgency=medium
 
index d109bf7..1ff3d00 100755 (executable)
@@ -182,7 +182,7 @@ if (!($query->param('doupdate'))) {
     }
   };
   if ($confirmstring ne '') {
-    $confirmstring = "<br>To confirm your new sudo passwords send signed mail to changes\@db.debian.org with a signed body containing these lines:<br><pre>$confirmstring</pre>";
+    $confirmstring = "<br>To confirm your new sudo passwords send signed mail to changes\@$config{maildomain} with a signed body containing these lines:<br><pre>$confirmstring</pre>";
   }
 
   my $sudopasswordhosts = '<select name="newsudopass-host"> <option value="*">ALL';