RemovedInNextVersionWarning: legacy encryption_mode is deprecated, use modern instead. SessionManager.cookies('myverysecretkey'),
max-bertinetti opened this issue · comments
#: pipeline
app.pipeline = [
SessionManager.cookies('myverysecretkey'),
db.pipe,
auth.pipe
]
Hi @gi0baro. This is the offending code. What should I do to suppress the warning?
@eclecticlly you need to install Emmett with crypto
extras and set the encryption_mode
parameter of SessionManager.cookies
to modern.
Details available in docs, see: