Fossil SCM

Continue prompting for as many times as the failed login check will allow.

andybradford 2013-11-02 16:06 UTC url-password-fixes
Commit 87d258107c575d446672cdfe453ddd7fec180f3d
1 file changed +1
+1
--- src/xfer.c
+++ src/xfer.c
@@ -1781,10 +1781,11 @@
17811781
if( nCycle<2 ){
17821782
g.urlPasswd = 0;
17831783
go = 1;
17841784
if( g.cgiOutput==0 ){
17851785
g.urlFlags |= URL_PROMPT_PW;
1786
+ g.urlFlags &= ~URL_PROMPTED;
17861787
url_prompt_for_password();
17871788
}
17881789
}
17891790
}else{
17901791
blob_appendf(&xfer.err, "server says: %s\n", zMsg);
17911792
--- src/xfer.c
+++ src/xfer.c
@@ -1781,10 +1781,11 @@
1781 if( nCycle<2 ){
1782 g.urlPasswd = 0;
1783 go = 1;
1784 if( g.cgiOutput==0 ){
1785 g.urlFlags |= URL_PROMPT_PW;
 
1786 url_prompt_for_password();
1787 }
1788 }
1789 }else{
1790 blob_appendf(&xfer.err, "server says: %s\n", zMsg);
1791
--- src/xfer.c
+++ src/xfer.c
@@ -1781,10 +1781,11 @@
1781 if( nCycle<2 ){
1782 g.urlPasswd = 0;
1783 go = 1;
1784 if( g.cgiOutput==0 ){
1785 g.urlFlags |= URL_PROMPT_PW;
1786 g.urlFlags &= ~URL_PROMPTED;
1787 url_prompt_for_password();
1788 }
1789 }
1790 }else{
1791 blob_appendf(&xfer.err, "server says: %s\n", zMsg);
1792

Keyboard Shortcuts

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