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 @@ ...@@ -7,6 +7,7 @@
ng-class="{ 'item-input-error': form.$submitted && form.pubkey.$invalid}"> ng-class="{ 'item-input-error': form.$submitted && form.pubkey.$invalid}">
<span class="input-label hidden-xs" translate>COMMON.PUBKEY</span> <span class="input-label hidden-xs" translate>COMMON.PUBKEY</span>
<input name="pubkey" type="text" placeholder="{{'LOGIN.PUBKEY_HELP' | translate}}" <input name="pubkey" type="text" placeholder="{{'LOGIN.PUBKEY_HELP' | translate}}"
autocomplete="off"
ng-model="formData.pubkey" ng-model="formData.pubkey"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
required > required >
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<label class="item item-input"> <label class="item item-input">
<span class="input-label" translate>LOGIN.SCRYPT.N</span> <span class="input-label" translate>LOGIN.SCRYPT.N</span>
<input class="no-padding-right" type="number" placeholder="N" <input class="no-padding-right" type="number" placeholder="N"
autocomplete="off"
ng-model="formData.scrypt.params.N" ng-model="formData.scrypt.params.N"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()" ng-change="onScryptFormChanged()"
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
<span class="input-label" translate>LOGIN.SCRYPT.r</span> <span class="input-label" translate>LOGIN.SCRYPT.r</span>
<input class="no-padding-right" type="number" placeholder="r" <input class="no-padding-right" type="number" placeholder="r"
ng-model="formData.scrypt.params.r" ng-model="formData.scrypt.params.r"
autocomplete="off"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()" ng-change="onScryptFormChanged()"
required> required>
...@@ -33,6 +35,7 @@ ...@@ -33,6 +35,7 @@
<label class="item item-input"> <label class="item item-input">
<span class="input-label" translate>LOGIN.SCRYPT.p</span> <span class="input-label" translate>LOGIN.SCRYPT.p</span>
<input class="no-padding-right" type="number" placeholder="p" <input class="no-padding-right" type="number" placeholder="p"
autocomplete="off"
ng-model="formData.scrypt.params.p" ng-model="formData.scrypt.params.p"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
ng-change="onScryptFormChanged()" ng-change="onScryptFormChanged()"
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
</div> </div>
<input type="text" <input type="text"
tabindex="3" tabindex="3"
autocomplete="off"
class="hidden-xs hidden-sm" class="hidden-xs hidden-sm"
name="amount" name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})"
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
<!-- mobile: come OVER the input --> <!-- mobile: come OVER the input -->
<input type="text" <input type="text"
tabindex="-1" tabindex="-1"
autocomplete="off"
class="visible-xs visible-sm" class="visible-xs visible-sm"
name="amount" name="amount"
placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})"
...@@ -151,6 +153,7 @@ ...@@ -151,6 +153,7 @@
<input type="text" placeholder="{{'TRANSFER.COMMENT_HELP' | translate}}" <input type="text" placeholder="{{'TRANSFER.COMMENT_HELP' | translate}}"
name="comment" name="comment"
tabindex="6" tabindex="6"
autocomplete="off"
ng-model="formData.comment" ng-model="formData.comment"
ng-maxlength="255" ng-maxlength="255"
ng-pattern="commentPattern"> ng-pattern="commentPattern">
...@@ -163,6 +166,7 @@ ...@@ -163,6 +166,7 @@
id="{{commentInputId}}" id="{{commentInputId}}"
tabindex="7" tabindex="7"
name="comment" name="comment"
autocomplete="off"
ng-model="formData.comment" ng-model="formData.comment"
ng-model-options="{ debounce: 650 }" ng-model-options="{ debounce: 650 }"
ng-maxlength="255" 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