Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [95f5520a09] - Construct event records for tickets correctly even when the ticket change artifacts arrive out of order. by drh on 2009-09-14 14:08:35. [view]

To:

File src/xfer.c part of check-in [bbb8ae7ebf] - Make it harder to misconfigure the user accounts in a way that might give people greater access than intended. by drh on 2009-09-15 18:44:51. [view]

@@ -388,8 +388,9 @@
 
   db_prepare(&q,
      "SELECT pw, cap, uid FROM user"
      " WHERE login=%B"
+     "   AND login NOT IN ('anonymous','nobody','developer','reader')"
      "   AND length(pw)>0",
      pLogin
   );
   if( db_step(&q)==SQLITE_ROW ){