fix: we use generated key
This commit is contained in:
parent
5d414ca049
commit
ed3e763fdd
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -27,7 +27,7 @@ client = LinkedRolesOAuth2(
|
|||
scopes=("identify", "role_connection_write"),
|
||||
state=os.getenv("COOKIE_SECRET")
|
||||
)
|
||||
fn = Fernet(os.getenv("COOKIE_SECRET"))
|
||||
fn = Fernet(os.getenv("ENCRYPT_KEY"))
|
||||
|
||||
def encrypt(text: str) -> str:
|
||||
return fn.encrypt(text.encode())
|
||||
|
|
Reference in a new issue