Fossil SCM

Doc typo/misinformation fix.

stephan 2020-01-29 06:31 trunk
Commit 83d02c01b4f2b51703b5fc531c92ca83a6309128a0855627912926bbe39a87f6
1 file changed +1 -1
+1 -1
--- src/json.c
+++ src/json.c
@@ -640,11 +640,11 @@
640640
** authToken.
641641
*/
642642
cson_value * json_auth_token(){
643643
assert(g.json.gc.a && "json_main_bootstrap() was not called!");
644644
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
646646
connection using --localauth. */
647647
){
648648
/* Try to get an authorization token from GET parameter, POSTed
649649
JSON, or fossil cookie (in that order). */
650650
g.json.authToken = json_getenv(FossilJsonKeys.authToken);
651651
--- 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

Keyboard Shortcuts

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