mirror of https://gitlab.com/bashrc2/epicyon
Use url token function to generate shared items federation token
parent
4c8b96efc1
commit
47575a52a7
2
auth.py
2
auth.py
|
@ -169,7 +169,7 @@ def generateSharedItemFederationTokens(sharedItemsFederatedDomains: [],
|
||||||
domainFound = True
|
domainFound = True
|
||||||
break
|
break
|
||||||
if not domainFound:
|
if not domainFound:
|
||||||
newLine = domain + ':' + createPassword(64)
|
newLine = domain + ':' + secrets.token_urlsafe(64)
|
||||||
tokens.append(newLine)
|
tokens.append(newLine)
|
||||||
tokensAdded = True
|
tokensAdded = True
|
||||||
if not tokensAdded:
|
if not tokensAdded:
|
||||||
|
|
Loading…
Reference in New Issue