Use url token function to generate shared items federation token

main
Bob Mottram 2021-07-26 10:20:49 +01:00
parent 4c8b96efc1
commit 47575a52a7
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ def generateSharedItemFederationTokens(sharedItemsFederatedDomains: [],
domainFound = True
break
if not domainFound:
newLine = domain + ':' + createPassword(64)
newLine = domain + ':' + secrets.token_urlsafe(64)
tokens.append(newLine)
tokensAdded = True
if not tokensAdded: