Fossil SCM
Fixed a comment to match the code, as reported [forum:/forumpost/81e0168804 | on the forum].
Commit
898b8f208286eb17d7129131f0881639ed2ed3c5b4baa7d7f7daf45627274c3c
Parent
cb531a541663ad0…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -1051,11 +1051,11 @@ | ||
| 1051 | 1051 | } |
| 1052 | 1052 | if( zUser==0 ){ |
| 1053 | 1053 | /* Invalid cookie */ |
| 1054 | 1054 | }else if( fossil_strcmp(zUser, "anonymous")==0 ){ |
| 1055 | 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. | |
| 1056 | + ** too old and the sha1 hash of TIME/SECRET must match HASH. | |
| 1057 | 1057 | ** SECRET is the "captcha-secret" value in the repository. |
| 1058 | 1058 | */ |
| 1059 | 1059 | double rTime = atof(zArg); |
| 1060 | 1060 | Blob b; |
| 1061 | 1061 | blob_zero(&b); |
| 1062 | 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/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 |