Fossil SCM

Set the autocomplete="off" parameter on the password input to the user editing screen.

drh 2020-03-26 14:48 trunk
Commit a02385427f4595b402194283609b85cd3cfcff4371013cb8b5c687203e978848
1 file changed +4 -2
+4 -2
--- src/setupuser.c
+++ src/setupuser.c
@@ -641,14 +641,16 @@
641641
if( !login_is_special(zLogin) ){
642642
@ <tr>
643643
@ <td align="right">Password:</td>
644644
if( zPw[0] ){
645645
/* Obscure the password for all users */
646
- @ <td><input type="password" name="pw" value="**********" /></td>
646
+ @ <td><input type="password" autocomplete="off" name="pw"\
647
+ @ value="**********" /></td>
647648
}else{
648649
/* Show an empty password as an empty input field */
649
- @ <td><input type="password" name="pw" value="" /></td>
650
+ @ <td><input type="password" autocomplete="off" name="pw"\
651
+ @ value="" /></td>
650652
}
651653
@ </tr>
652654
}
653655
zGroup = login_group_name();
654656
if( zGroup ){
655657
--- src/setupuser.c
+++ src/setupuser.c
@@ -641,14 +641,16 @@
641 if( !login_is_special(zLogin) ){
642 @ <tr>
643 @ <td align="right">Password:</td>
644 if( zPw[0] ){
645 /* Obscure the password for all users */
646 @ <td><input type="password" name="pw" value="**********" /></td>
 
647 }else{
648 /* Show an empty password as an empty input field */
649 @ <td><input type="password" name="pw" value="" /></td>
 
650 }
651 @ </tr>
652 }
653 zGroup = login_group_name();
654 if( zGroup ){
655
--- src/setupuser.c
+++ src/setupuser.c
@@ -641,14 +641,16 @@
641 if( !login_is_special(zLogin) ){
642 @ <tr>
643 @ <td align="right">Password:</td>
644 if( zPw[0] ){
645 /* Obscure the password for all users */
646 @ <td><input type="password" autocomplete="off" name="pw"\
647 @ value="**********" /></td>
648 }else{
649 /* Show an empty password as an empty input field */
650 @ <td><input type="password" autocomplete="off" name="pw"\
651 @ value="" /></td>
652 }
653 @ </tr>
654 }
655 zGroup = login_group_name();
656 if( zGroup ){
657

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button