Create default account

master
Bob Mottram 2019-07-03 13:25:42 +01:00
parent 5ff78f55a1
commit 543f1eb142
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ if args.federationList:
federationList=args.federationList.copy() federationList=args.federationList.copy()
if not os.path.isdir(baseDir+'/accounts/'+nickname+'@'+domain): if not os.path.isdir(baseDir+'/accounts/'+nickname+'@'+domain):
print('Creating default admin account '+nickname+'@'+domain)
privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson(baseDir,nickname,domain,port,https,True) privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson(baseDir,nickname,domain,port,https,True)
runDaemon(domain,port,https,federationList,useTor) runDaemon(domain,port,https,federationList,useTor)