Skip to content

Commit

Permalink
passwords and addresses with autocomplete="off"
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgamer58 committed Jan 9, 2019
1 parent a5e7d5a commit 1e602cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions view/admin_info.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
</table>
<br />
<p>Set new password:</p>
<form action="<?php echo '?a=info&i=' . $info['id']; ?>" method="POST" class="clearfix" id="pwdform">
<form action="<?php echo '?a=info&i=' . $info['id']; ?>" method="POST" autocomplete="off" class="clearfix" id="pwdform">
<input type="hidden" name="action" value="password" />
<div class="col-md-4"><input type="password" class="form-control" name="password" placeholder="New password"></div>
<div class="col-md-2"><button type="submit" class="btn btn-default">Change password</button></div>
</form>
<p id="pwdmsg"></p>
<br />
<p>Withdraw funds:</p>
<form action="<?php echo '?a=info&i=' . $info['id']; ?>" method="POST" class="clearfix" id="withdrawform">
<form action="<?php echo '?a=info&i=' . $info['id']; ?>" method="POST" autocomplete="off" class="clearfix" id="withdrawform">
<input type="hidden" name="action" value="withdraw" />
<div class="col-md-4"><input type="text" class="form-control" name="address" placeholder="Address"></div>
<div class="col-md-2"><input type="text" class="form-control" name="amount" placeholder="Amount"></div>
Expand Down
4 changes: 2 additions & 2 deletions view/wallet.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<br />
<p><strong><?php echo $lang['WALLET_PASSUPDATE']; ?></strong></p>
<form action="index.php" method="POST" class="clearfix" id="pwdform">
<form action="index.php" method="POST" autocomplete="off" class="clearfix" id="pwdform">
<input type="hidden" name="action" value="password" />
<input type="hidden" name="token" value="<?php echo $_SESSION['token']; ?>">
<div class="col-md-2"><input type="password" class="form-control" name="oldpassword" placeholder="<?php echo $lang['WALLET_PASSUPDATEOLD']; ?>"></div>
Expand All @@ -65,7 +65,7 @@
<p><strong><?php echo $lang['WALLET_SEND']; ?></strong></p>
<button type="button" class="btn btn-default" id="donate">Donate to <?=$fullname?> wallet's owner!</button><br />
<p id="donateinfo" style="display: none;">Type the amount you want to donate and click <strong>Withdraw</strong></p>
<form action="index.php" method="POST" class="clearfix" id="withdrawform">
<form action="index.php" method="POST" autocomplete="off" class="clearfix" id="withdrawform">
<input type="hidden" name="action" value="withdraw" />
<input type="hidden" name="token" value="<?php echo $_SESSION['token']; ?>">
<div class="col-md-4"><input type="text" class="form-control" name="address" placeholder="<?php echo $lang['WALLET_ADDRESS']; ?>"></div>
Expand Down

0 comments on commit 1e602cb

Please sign in to comment.