fix that it can set the responce cookie correctly for newer werkzeug version
This commit is contained in:
@@ -189,7 +189,7 @@ class SessionInterface(QuartSessionInterface):
|
||||
session_id = self._get_signer(app).sign(want_bytes(session.sid))
|
||||
else:
|
||||
session_id = session.sid
|
||||
response.set_cookie(cname, session_id,
|
||||
response.set_cookie(cname, session_id.decode('utf-8'),
|
||||
expires=expires, httponly=httponly,
|
||||
domain=domain, path=path, secure=secure, samesite=samesite)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user