Skip to content

Commit

Permalink
Merge pull request #1884 from Fryguy/autocomplete_off_login
Browse files Browse the repository at this point in the history
Prevent autocomplete on login fields

(cherry picked from commit 7d4040a)
  • Loading branch information
DavidResende0 authored and Fryguy committed Feb 7, 2024
1 parent a5b4e52 commit b050383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/app/states/login/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
<button type="button" class="btn btn-primary" ng-click="vm.initiateOidcLogin()" translate>Log In to Corporate System</button>
</div>
</form>
<form class="form-horizontal" role="form" ng-submit="vm.onSubmit()" ng-if="vm.authenticationInfo && !vm.authenticationInfo.oidc_enabled">
<form class="form-horizontal" role="form" method="post" ng-submit="vm.onSubmit()" ng-if="vm.authenticationInfo && !vm.authenticationInfo.oidc_enabled">
<div class="form-group">
<label for="inputUsername" class="col-sm-2 col-md-2 control-label" translate>Username</label>
<div class="col-sm-10 col-md-10">
<input type="text" ng-model="vm.credentials.login" class="form-control" id="inputUsername" autofocus>
<input type="text" ng-model="vm.credentials.login" class="form-control" id="inputUsername" autocomplete="off" autofocus>
</div>
</div>
<div class="form-group">
<label for="inputPassword" class="col-sm-2 col-md-2 control-label" translate>Password</label>
<div class="col-sm-10 col-md-10">
<input type="password" ng-model="vm.credentials.password" class="form-control" id="inputPassword">
<input type="password" ng-model="vm.credentials.password" class="form-control" id="inputPassword" autocomplete="off">
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit b050383

Please sign in to comment.