Skip to content
Snippets Groups Projects
Commit 07de9f27 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Login & transfer form: set autocomplete=off in HTML inputs

parent 22917487
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
ng-class="{ 'item-input-error': form.$submitted && form.pubkey.$invalid}">
<span class="input-label hidden-xs" translate>COMMON.PUBKEY</span>
<input name="pubkey" type="text" placeholder="{{'LOGIN.PUBKEY_HELP' | translate}}"
autocomplete="off"
ng-model="formData.pubkey"
ng-model-options="{ debounce: 650 }"
required >
......
......@@ -13,6 +13,7 @@
<label class="item item-input">
<span class="input-label" translate>LOGIN.SCRYPT.N</span>
<input class="no-padding-right" type="number" placeholder="N"
autocomplete="off"
ng-model="formData.scrypt.params.N"
ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()"
......@@ -24,6 +25,7 @@
<span class="input-label" translate>LOGIN.SCRYPT.r</span>
<input class="no-padding-right" type="number" placeholder="r"
ng-model="formData.scrypt.params.r"
autocomplete="off"
ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()"
required>
......@@ -33,6 +35,7 @@
<label class="item item-input">
<span class="input-label" translate>LOGIN.SCRYPT.p</span>
<input class="no-padding-right" type="number" placeholder="p"
autocomplete="off"
ng-model="formData.scrypt.params.p"
ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()"
......
......@@ -55,6 +55,7 @@
</div>
<input type="text"
tabindex="3"
autocomplete="off"
class="hidden-xs hidden-sm"
name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})"
......@@ -65,6 +66,7 @@
<!-- mobile: come OVER the input -->
<input type="text"
tabindex="-1"
autocomplete="off"
class="visible-xs visible-sm"
name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})"
......@@ -151,6 +153,7 @@
<input type="text" placeholder="{{'TRANSFER.COMMENT_HELP' | translate}}"
name="comment"
tabindex="6"
autocomplete="off"
ng-model="formData.comment"
ng-maxlength="255"
ng-pattern="commentPattern">
......@@ -163,6 +166,7 @@
id="{{commentInputId}}"
tabindex="7"
name="comment"
autocomplete="off"
ng-model="formData.comment"
ng-model-options="{ debounce: 650 }"
ng-maxlength="255"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment