Fossil SCM

Add a note to /setup_uedit that leaving the ostensibly populated password field unchanged will retain the current password, per discussion in [forum:0463cc2e87a3c676|forum post 0463cc2e87a3c676]. (Branched for later addition to v2.21.)

stephan 2022-11-04 11:11 trunk
Commit fe373994876b3ea94bab2986133475b74a75f8c44f90d069099f9e3a42a1c08a
1 file changed +2 -1
+2 -1
--- src/setupuser.c
+++ src/setupuser.c
@@ -733,11 +733,12 @@
733733
@ <tr>
734734
@ <td align="right" id="supw">Password:</td>
735735
if( zPw[0] ){
736736
/* Obscure the password for all users */
737737
@ <td><input aria-labelledby="supw" type="password" autocomplete="off" \
738
- @ name="pw" value="**********" /></td>
738
+ @ name="pw" value="**********" />
739
+ @ (Leave unchanged to retain password)</td>
739740
}else{
740741
/* Show an empty password as an empty input field */
741742
char *zRPW = fossil_random_password(12);
742743
@ <td><input aria-labelledby="supw" type="password" name="pw" \
743744
@ autocomplete="off" value="" /> Password suggestion: %z(zRPW)</td>
744745
--- src/setupuser.c
+++ src/setupuser.c
@@ -733,11 +733,12 @@
733 @ <tr>
734 @ <td align="right" id="supw">Password:</td>
735 if( zPw[0] ){
736 /* Obscure the password for all users */
737 @ <td><input aria-labelledby="supw" type="password" autocomplete="off" \
738 @ name="pw" value="**********" /></td>
 
739 }else{
740 /* Show an empty password as an empty input field */
741 char *zRPW = fossil_random_password(12);
742 @ <td><input aria-labelledby="supw" type="password" name="pw" \
743 @ autocomplete="off" value="" /> Password suggestion: %z(zRPW)</td>
744
--- src/setupuser.c
+++ src/setupuser.c
@@ -733,11 +733,12 @@
733 @ <tr>
734 @ <td align="right" id="supw">Password:</td>
735 if( zPw[0] ){
736 /* Obscure the password for all users */
737 @ <td><input aria-labelledby="supw" type="password" autocomplete="off" \
738 @ name="pw" value="**********" />
739 @ (Leave unchanged to retain password)</td>
740 }else{
741 /* Show an empty password as an empty input field */
742 char *zRPW = fossil_random_password(12);
743 @ <td><input aria-labelledby="supw" type="password" name="pw" \
744 @ autocomplete="off" value="" /> Password suggestion: %z(zRPW)</td>
745

Keyboard Shortcuts

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