Fossil SCM
Doc typo/misinformation fix.
Commit
83d02c01b4f2b51703b5fc531c92ca83a6309128a0855627912926bbe39a87f6
Parent
6dfc395a4869945…
1 file changed
+1
-1
+1
-1
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -640,11 +640,11 @@ | ||
| 640 | 640 | ** authToken. |
| 641 | 641 | */ |
| 642 | 642 | cson_value * json_auth_token(){ |
| 643 | 643 | assert(g.json.gc.a && "json_main_bootstrap() was not called!"); |
| 644 | 644 | if( g.json.authToken==0 && g.noPswd==0 |
| 645 | - /* g.noPswd==0 means the user was logged in via a local | |
| 645 | + /* g.noPswd!=0 means the user was logged in via a local | |
| 646 | 646 | connection using --localauth. */ |
| 647 | 647 | ){ |
| 648 | 648 | /* Try to get an authorization token from GET parameter, POSTed |
| 649 | 649 | JSON, or fossil cookie (in that order). */ |
| 650 | 650 | g.json.authToken = json_getenv(FossilJsonKeys.authToken); |
| 651 | 651 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -640,11 +640,11 @@ | |
| 640 | ** authToken. |
| 641 | */ |
| 642 | cson_value * json_auth_token(){ |
| 643 | assert(g.json.gc.a && "json_main_bootstrap() was not called!"); |
| 644 | if( g.json.authToken==0 && g.noPswd==0 |
| 645 | /* g.noPswd==0 means the user was logged in via a local |
| 646 | connection using --localauth. */ |
| 647 | ){ |
| 648 | /* Try to get an authorization token from GET parameter, POSTed |
| 649 | JSON, or fossil cookie (in that order). */ |
| 650 | g.json.authToken = json_getenv(FossilJsonKeys.authToken); |
| 651 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -640,11 +640,11 @@ | |
| 640 | ** authToken. |
| 641 | */ |
| 642 | cson_value * json_auth_token(){ |
| 643 | assert(g.json.gc.a && "json_main_bootstrap() was not called!"); |
| 644 | if( g.json.authToken==0 && g.noPswd==0 |
| 645 | /* g.noPswd!=0 means the user was logged in via a local |
| 646 | connection using --localauth. */ |
| 647 | ){ |
| 648 | /* Try to get an authorization token from GET parameter, POSTed |
| 649 | JSON, or fossil cookie (in that order). */ |
| 650 | g.json.authToken = json_getenv(FossilJsonKeys.authToken); |
| 651 |