mirror of https://github.com/gophish/gophish
Explicitly disabled autocomplete for password fields
parent
ed980a0861
commit
dbadac3eca
|
@ -46,7 +46,7 @@
|
|||
<h2 class="form-signin-heading">Please sign in</h2>
|
||||
{{template "flashes" .Flashes}}
|
||||
<input type="text" name="username" class="form-control top-input" placeholder="Username" required autofocus>
|
||||
<input type="password" name="password" class="form-control bottom-input" placeholder="Password" required>
|
||||
<input type="password" name="password" class="form-control bottom-input" placeholder="Password" autocomplete="off" required>
|
||||
<input type="hidden" name="csrf_token" value="{{.Token}}"/>
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
||||
</form>
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
<h2 class="form-signin-heading">Please register below</h2>
|
||||
{{template "flashes" .Flashes}}
|
||||
<input type="text" name="username" class="form-control top-input" placeholder="Username" required autofocus/>
|
||||
<input type="password" name="password" class="form-control middle-input" placeholder="Password" required/>
|
||||
<input type="password" name="confirm_password" class="form-control bottom-input" placeholder="Confirm Password" required/>
|
||||
<input type="password" name="password" class="form-control middle-input" placeholder="Password" autocomplete="off" required/>
|
||||
<input type="password" name="confirm_password" class="form-control bottom-input" placeholder="Confirm Password" autocomplete="off" required/>
|
||||
<input type="hidden" name="csrf_token" value="{{.Token}}"/>
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Register</button>
|
||||
</form>
|
||||
|
|
|
@ -67,21 +67,21 @@
|
|||
<div class="row">
|
||||
<label for="current_password" class="col-sm-2 control-label form-label">Old Password:</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" id="current_password" name="current_password" class="form-control"/>
|
||||
<input type="password" id="current_password" name="current_password" autocomplete="off" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="row">
|
||||
<label for="new_password" class="col-sm-2 control-label form-label">New Password:</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" id="new_password" name="new_password" class="form-control" />
|
||||
<input type="password" id="new_password" name="new_password" autocomplete="off" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="row">
|
||||
<label for="confirm_new_password" class="col-sm-2 control-label form-label">Confirm New Password:</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" id="confirm_new_password" name="confirm_new_password" class="form-control" />
|
||||
<input type="password" id="confirm_new_password" name="confirm_new_password" autocomplete="off" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{.Token}}"/>
|
||||
|
|
Loading…
Reference in New Issue