Fix in create site script
This commit is contained in:
parent
f6c86f33c9
commit
31b3118291
1 changed files with 2 additions and 2 deletions
|
|
@ -141,9 +141,9 @@ def start():
|
||||||
conf=f.read()
|
conf=f.read()
|
||||||
|
|
||||||
random_bytes = os.urandom(24)
|
random_bytes = os.urandom(24)
|
||||||
#secret_key_session = b64encode(random_bytes).decode('utf-8').strip()
|
secret_key_session = b64encode(random_bytes).decode('utf-8').strip()
|
||||||
|
|
||||||
conf=conf.replace('"im smoking fool"', random_bytes)
|
conf=conf.replace('"im smoking fool"', secret_key_session)
|
||||||
|
|
||||||
#domain='localhost'
|
#domain='localhost'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue