Check-in [404f15501b]
Not logged in

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

Overview
Comment:Improved instructions for setting a common captcha-secret across a login-group on the /setup_login_group page.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 404f15501be570cfdadd81f69d7d2ad1a9bfca9891861de59449512e525d1408
User & Date: drh 2024-08-23 15:42:11.197
Context
2024-08-23
15:53
Minor typo fix in a comment. check-in: 8581e376c3 user: drh tags: trunk
15:42
Improved instructions for setting a common captcha-secret across a login-group on the /setup_login_group page. check-in: 404f15501b user: drh tags: trunk
14:43
Add the ability to rotate the captcha-secret, setting up a new secret that is common to all members of a login-group. check-in: acfaf4e48e user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/setup.c.
851
852
853
854
855
856
857
858
859




860
861
862
863
864
865
866
867
    db_finalize(&q);
    @ </table>
    @
    @ <p><form action="%R/setup_login_group" method="post"><div>
    login_insert_csrf_secret();
    @ <p>To leave this login group press:
    @ <input type="submit" value="Leave Login Group" name="leave">
    @ <p>To rotate the captcha-secret on all members of the login-group
    @ so that they can all share anonymous logins, press:




    @ <input type="submit" name="rotate" value="Rotate the captcha-secret">
    @ </form></p>
  }
  @ <hr><h2>Implementation Details</h2>
  @ <p>The following are fields from the CONFIG table related to login-groups.
  @ </p>
  @ <table border='1' cellspacing="0" cellpadding="4"\
  @ class='sortable' data-column-types='ttt' data-init-sort='1'>







|
|
>
>
>
>
|







851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
    db_finalize(&q);
    @ </table>
    @
    @ <p><form action="%R/setup_login_group" method="post"><div>
    login_insert_csrf_secret();
    @ <p>To leave this login group press:
    @ <input type="submit" value="Leave Login Group" name="leave">
    @ <p>Setting a common captcha-secret on all repositories in the login-group
    @ allows anonymous logins for one repository in the login group to be used
    @ by all other repositories of the group within the same domain.  Warning:
    @ If a captcha dialog was painted before setting the common captcha-secret
    @ and the "Speak password for 'anonymous'" button is pressed afterwards,
    @ the spoken text will be incorrect.
    @ <input type="submit" name="rotate" value="Set common captcha-secret">
    @ </form></p>
  }
  @ <hr><h2>Implementation Details</h2>
  @ <p>The following are fields from the CONFIG table related to login-groups.
  @ </p>
  @ <table border='1' cellspacing="0" cellpadding="4"\
  @ class='sortable' data-column-types='ttt' data-init-sort='1'>