Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
sairaj-mote committed Oct 19, 2023
1 parent ee30234 commit 7e7ba03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ <h1 style="font-size: 2rem;">Sign in</h1>
<p>Welcome back, glad to see you again</p>
<sm-form id="sign_in_form">
<sm-input id="private_key_field" class="password-field" type="password"
placeholder="FLO/BTC private key" error-text="Private key is invalid" data-private-key required>
placeholder="FLO/BTC/ETH private key" error-text="Private key is invalid" data-private-key
required>
<label slot="right" class="interact">
<input type="checkbox" class="hidden" autocomplete="off" readonly
onchange="togglePrivateKeyVisibility(this)">
Expand Down Expand Up @@ -2333,7 +2334,7 @@ <h4 class="h4">Members</h4>
} else {
floGlobals.isPrivKeySecured = false;
getRef('private_key_field').dataset.privateKey = ''
getRef('private_key_field').setAttribute('placeholder', 'FLO/BTC private key');
getRef('private_key_field').setAttribute('placeholder', 'FLO/BTC/ETH private key');
getRef('private_key_field').customValidation = (value) => {
if (!value) return { isValid: false, errorText: 'Please enter a private key' }
return {
Expand Down

0 comments on commit 7e7ba03

Please sign in to comment.