Fossil SCM

Fixed a comment to match the code, as reported [forum:/forumpost/81e0168804 | on the forum].

wyoung 2021-09-21 09:47 trunk
Commit 898b8f208286eb17d7129131f0881639ed2ed3c5b4baa7d7f7daf45627274c3c
1 file changed +1 -1
+1 -1
--- src/login.c
+++ src/login.c
@@ -1051,11 +1051,11 @@
10511051
}
10521052
if( zUser==0 ){
10531053
/* Invalid cookie */
10541054
}else if( fossil_strcmp(zUser, "anonymous")==0 ){
10551055
/* Cookies of the form "HASH/TIME/anonymous". The TIME must not be
1056
- ** too old and the sha1 hash of TIME/IPADDR/SECRET must match HASH.
1056
+ ** too old and the sha1 hash of TIME/SECRET must match HASH.
10571057
** SECRET is the "captcha-secret" value in the repository.
10581058
*/
10591059
double rTime = atof(zArg);
10601060
Blob b;
10611061
blob_zero(&b);
10621062
--- src/login.c
+++ src/login.c
@@ -1051,11 +1051,11 @@
1051 }
1052 if( zUser==0 ){
1053 /* Invalid cookie */
1054 }else if( fossil_strcmp(zUser, "anonymous")==0 ){
1055 /* Cookies of the form "HASH/TIME/anonymous". The TIME must not be
1056 ** too old and the sha1 hash of TIME/IPADDR/SECRET must match HASH.
1057 ** SECRET is the "captcha-secret" value in the repository.
1058 */
1059 double rTime = atof(zArg);
1060 Blob b;
1061 blob_zero(&b);
1062
--- src/login.c
+++ src/login.c
@@ -1051,11 +1051,11 @@
1051 }
1052 if( zUser==0 ){
1053 /* Invalid cookie */
1054 }else if( fossil_strcmp(zUser, "anonymous")==0 ){
1055 /* Cookies of the form "HASH/TIME/anonymous". The TIME must not be
1056 ** too old and the sha1 hash of TIME/SECRET must match HASH.
1057 ** SECRET is the "captcha-secret" value in the repository.
1058 */
1059 double rTime = atof(zArg);
1060 Blob b;
1061 blob_zero(&b);
1062

Keyboard Shortcuts

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