fix ISPMan password changing command
[freeside.git] / FS / FS / part_export / shellcommands_withdomain.pm
index 8a56bab..89ee95f 100644 (file)
@@ -73,7 +73,7 @@ the same username with different domains.  You will need to
     this.form.useradd_stdin.value = "";
     this.form.userdel.value = "/usr/local/ispman/bin/ispman.delUser -d $domain $username";
     this.form.userdel_stdin.value="";
-    this.form.usermod.value = "/usr/local/ispman/bin/ispman.passwd.user $username\\\@$domain $new_quoted_password";
+    this.form.usermod.value = "/usr/local/ispman/bin/ispman.passwd.user $new_username\\\@$new_domain $new_quoted_password";
     this.form.usermod_stdin.value = "";
     this.form.usermod_pwonly.checked = true;
   '>
@@ -95,6 +95,7 @@ The following variables are available for interpolation (prefixed with
   <LI><code>$dir</code> - home directory
   <LI><code>$shell</code>
   <LI><code>$quota</code>
+  <LI><code>@radius_groups</code>
   <LI>All other fields in <a href="../docs/schema.html#svc_acct">svc_acct</a> are also available.
 </UL>
 END