Add attribute to basicauth-pass to prevent browsers from autocompleting (#1063)

This commit is contained in:
Ivan Bratović 2021-12-15 11:18:30 +01:00 committed by GitHub
parent 5bc68d7f3b
commit 475a466c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@
<div class="my-3">
<label for="basicauth" class="form-label">{{ $t("Password") }}</label>
<input id="basicauth-pass" v-model="monitor.basic_auth_pass" type="password" class="form-control" :placeholder="$t('Password')">
<input id="basicauth-pass" v-model="monitor.basic_auth_pass" type="password" autocomplete="new-password" class="form-control" :placeholder="$t('Password')">
</div>
</template>
</div>