Explorar el Código

Hiding password text

utkarshcmu hace 9 años
padre
commit
00b1908f3c
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      public/app/features/profile/partials/password.html

+ 3 - 3
public/app/features/profile/partials/password.html

@@ -9,17 +9,17 @@
 	<form name="userForm" class="gf-form-group">
 		<div class="gf-form">
 			<span class="gf-form-label width-10">Old Password</span>
-			<input class="gf-form-input max-width-21" type="text" required ng-model="command.oldPassword">
+			<input class="gf-form-input max-width-21" type="password" required ng-model="command.oldPassword">
 		</div>
 
 		<div class="gf-form">
 			<span class="gf-form-label width-10">New Password</span>
-			<input class="gf-form-input max-width-21" type="text" required ng-minlength="4"  ng-model="command.newPassword">
+			<input class="gf-form-input max-width-21" type="password" required ng-minlength="4"  ng-model="command.newPassword">
 		</div>
 
 		<div class="gf-form">
 			<span class="gf-form-label width-10">Confirm Password</span>
-			<input class="gf-form-input max-width-21" type="text" required ng-minlength="4"  ng-model="command.confirmNew">
+			<input class="gf-form-input max-width-21" type="password" required ng-minlength="4"  ng-model="command.confirmNew">
 		</div>
 
 		<div class="gf-form-button-row">