Fossil

Check-in [87d25810]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Continue prompting for as many times as the failed login check will allow.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | url-password-fixes
Files: files | file ages | folders
SHA1:87d258107c575d446672cdfe453ddd7fec180f3d
User & Date: andybradford 2013-11-02 16:06:48
Context
2013-11-02
17:26
Restore URL flags because user_select() causes them to be altered. This allows the save password prompt to appear when required. check-in: 817d795f user: andybradford tags: url-password-fixes
16:06
Continue prompting for as many times as the failed login check will allow. check-in: 87d25810 user: andybradford tags: url-password-fixes
11:16
Don't crash if last-sync-pw was never set yet. check-in: a2829230 user: jan.nijtmans tags: url-password-fixes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfer.c.

1779
1780
1781
1782
1783
1784
1785

1786
1787
1788
1789
1790
1791
1792
          fossil_print("Error: %s\n", zMsg);
          if( fossil_strcmp(zMsg, "login failed")==0 ){
            if( nCycle<2 ){
              g.urlPasswd = 0;
              go = 1;
              if( g.cgiOutput==0 ){
                g.urlFlags |= URL_PROMPT_PW;

                url_prompt_for_password();
              }
            }
          }else{
            blob_appendf(&xfer.err, "server says: %s\n", zMsg);
            nErr++;
          }







>







1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
          fossil_print("Error: %s\n", zMsg);
          if( fossil_strcmp(zMsg, "login failed")==0 ){
            if( nCycle<2 ){
              g.urlPasswd = 0;
              go = 1;
              if( g.cgiOutput==0 ){
                g.urlFlags |= URL_PROMPT_PW;
                g.urlFlags &= ~URL_PROMPTED;
                url_prompt_for_password();
              }
            }
          }else{
            blob_appendf(&xfer.err, "server says: %s\n", zMsg);
            nErr++;
          }