bugfix: email link did not contain password value

This commit is contained in:
Darryl Quinn 2015-04-11 22:37:26 -05:00
parent 45e82607f9
commit e80f67f139
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ sub print_vpn_clients()
print "</td>"; print "</td>";
print "<td><input type=submit name=client_add value=Add title='Add this client'>" if($val eq "_add"); print "<td><input type=submit name=client_add value=Add title='Add this client'>" if($val eq "_add");
print "</td>"; print "</td>";
print "<td class='tun_client_mailto'><a href='mailto:?subject=AREDN%20Tunnel%20Connection&body=Your%20connection%20details:%0D%0AName:%20$name%0D%0APassword:%20$pass%0D%0ANetwork:%20$fullnet%0D%0AServer%20address:%20<your%20server%20dns%20name>'><img class='tun_client_mailto_img' src='/email.png'/></a></td>" unless($val eq "_add"); print "<td class='tun_client_mailto'><a href='mailto:?subject=AREDN%20Tunnel%20Connection&body=Your%20connection%20details:%0D%0AName:%20$name%0D%0APassword:%20$passwd%0D%0ANetwork:%20$fullnet%0D%0AServer%20address:%20<your%20server%20dns%20name>'><img class='tun_client_mailto_img' src='/email.png'/></a></td>" unless($val eq "_add");
print "</tr>\n"; print "</tr>\n";
# display any errors # display any errors