Fossil

Check-in [88f9da98]
Login

Check-in [88f9da98]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge in setupuser-retain-pw branch (HTML change only, no code).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 88f9da98803a6a3f2831e173863397656e29c3789a91a86e0530dfa11267e3b8
User & Date: stephan 2022-11-16 20:59:30
Context
2022-11-17
07:45
Increase the version number to 2.21 to start the next development cycle. ... (check-in: 8dcee008 user: danield tags: trunk)
2022-11-16
20:59
Merge in setupuser-retain-pw branch (HTML change only, no code). ... (check-in: 88f9da98 user: stephan tags: trunk)
20:53
Prefixing each shell script section in the Dockerfile with "set -x" broke the checks to prevent running UPX on ARM builds. You can still get release container builds on ARM by copying this fixed Dockerfile to your release checkout. ... (check-in: b4c3d9a1 user: wyoung tags: trunk)
2022-11-04
11:11
Add a note to /setup_uedit that leaving the ostensibly populated password field unchanged will retain the current password, per discussion in forum post 0463cc2e87a3c676. (Branched for later addition to v2.21.) ... (Closed-Leaf check-in: fe373994 user: stephan tags: setupuser-retain-pw)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setupuser.c.

731
732
733
734
735
736
737
738

739
740
741
742
743
744
745
  @ </tr>
  if( !login_is_special(zLogin) ){
    @ <tr>
    @   <td align="right" id="supw">Password:</td>
    if( zPw[0] ){
      /* Obscure the password for all users */
      @   <td><input aria-labelledby="supw" type="password" autocomplete="off" \
      @   name="pw" value="**********" /></td>

    }else{
      /* Show an empty password as an empty input field */
      char *zRPW = fossil_random_password(12);
      @   <td><input aria-labelledby="supw" type="password" name="pw" \
      @   autocomplete="off" value="" /> Password suggestion: %z(zRPW)</td>
    }
    @ </tr>







|
>







731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
  @ </tr>
  if( !login_is_special(zLogin) ){
    @ <tr>
    @   <td align="right" id="supw">Password:</td>
    if( zPw[0] ){
      /* Obscure the password for all users */
      @   <td><input aria-labelledby="supw" type="password" autocomplete="off" \
      @   name="pw" value="**********" />
      @   (Leave unchanged to retain password)</td>
    }else{
      /* Show an empty password as an empty input field */
      char *zRPW = fossil_random_password(12);
      @   <td><input aria-labelledby="supw" type="password" name="pw" \
      @   autocomplete="off" value="" /> Password suggestion: %z(zRPW)</td>
    }
    @ </tr>