You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2022/09/08 16:04:10 UTC
[trafficcontrol] branch master updated: Dont autocomplete on password change field. (#7066)
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new e116a8e9b6 Dont autocomplete on password change field. (#7066)
e116a8e9b6 is described below
commit e116a8e9b650bb24d4cdf910c7c98d45f50511e4
Author: Steve Hamrick <sh...@users.noreply.github.com>
AuthorDate: Thu Sep 8 10:04:03 2022 -0600
Dont autocomplete on password change field. (#7066)
---
traffic_portal/app/src/common/modules/form/user/form.user.tpl.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_portal/app/src/common/modules/form/user/form.user.tpl.html b/traffic_portal/app/src/common/modules/form/user/form.user.tpl.html
index 4b99f42e2e..585160e6c0 100644
--- a/traffic_portal/app/src/common/modules/form/user/form.user.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/user/form.user.tpl.html
@@ -91,7 +91,7 @@ under the License.
<div class="form-group" ng-class="{'has-error': hasError(userForm.uPass), 'has-feedback': hasError(userForm.uPass)}">
<label class="control-label col-md-2 col-sm-2 col-xs-12">Password <span ng-if="settings.isNew">*</span></label>
<div class="col-md-10 col-sm-10 col-xs-12">
- <input name="uPass" type="password" class="form-control" ng-model="user.localPasswd" ng-required="settings.isNew" ng-maxlength="40" ng-minlength="8" autofocus>
+ <input name="uPass" type="password" class="form-control" ng-model="user.localPasswd" ng-required="settings.isNew" ng-maxlength="40" ng-minlength="8" autocomplete="new-password" autofocus>
<small class="input-error" ng-show="hasPropertyError(userForm.uPass, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(userForm.uPass, 'minlength')">Too Short</small>
<small class="input-error" ng-show="hasPropertyError(userForm.uPass, 'maxlength')">Too Long</small>