Set autocomplete to off for login form
fixes CWE 525
<div class="theme-panel">
<h2 class="theme-heading">log in to your account</h2>
- <form method="post" action="{{ .PostURL }}">
+ <form method="post" action="{{ .PostURL }}" autocomplete="off">
<div class="theme-form-row">
<div class="theme-form-label">
<label for="userid">{{ $usernamePrompt }}</label>
</div>
- <input tabindex="1" required id="login" name="login" type="text" class="theme-form-input" placeholder="{{ $usernamePrompt }}" {{ if .Username }} value="{{ .Username }}" {{ else }} autofocus {{ end }}/>
+ <input tabindex="1" required id="login" name="login" type="text" class="theme-form-input" placeholder="{{ $usernamePrompt }}" autocomplete="off"{{ if .Username }} value="{{ .Username }}" {{ else }} autofocus {{ end }}/>
</div>
<div class="theme-form-row">
<div class="theme-form-label">
