diff --git a/daemon.py b/daemon.py index 89aa49add..d5b9af84b 100644 --- a/daemon.py +++ b/daemon.py @@ -329,6 +329,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.lastGET=currTimeGET self.server.GETbusy=True + #print('Content-type: '+self.headers['Accept']) + if not self._permittedDir(self.path): if self.server.debug: print('DEBUG: GET Not permitted') @@ -921,9 +923,6 @@ def runDaemon(clientToServer: bool,baseDir: str,domain: str, \ if not os.path.isdir(baseDir+'/accounts/inbox@'+domain): print('Creating shared inbox: inbox@'+domain) createSharedInbox(baseDir,'inbox',domain,port,httpPrefix) - print('See config.json for the password. You can remove the password from config.json after moving it elsewhere.') - adminPassword=createPassword(10) - setConfigParam(baseDir,'adminPassword',adminPassword) print('Creating inbox queue') httpd.thrInboxQueue= \ diff --git a/epicyon.py b/epicyon.py index 46a70adf7..df5e6ac63 100644 --- a/epicyon.py +++ b/epicyon.py @@ -199,7 +199,7 @@ parser.add_argument("--followersonly", type=str2bool, nargs='?', \ const=True, default=True, \ help="Send to followers only") parser.add_argument("--followerspending", type=str2bool, nargs='?', \ - const=True, default=True, \ + const=True, default=False, \ help="Show a list of followers pending") parser.add_argument('--approve', dest='approve', type=str,default=None, \ help='Approve a follow request')