mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix key reset
This commit is contained in:
parent
af654bc89f
commit
e04fee0ea1
2
main.py
2
main.py
@ -155,7 +155,7 @@ if __name__ == "__main__":
|
||||
str(helper.random_string_generator(64))
|
||||
)
|
||||
controller.management.set_cookie_secret(str(helper.random_string_generator(32)))
|
||||
helper.set_setting("reset_secrets_on_boot", False)
|
||||
helper.set_setting("reset_secrets_on_next_boot", False)
|
||||
else:
|
||||
Console.info("No flag found. Secrets are staying")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user