In Flask 2.2.0, the app-wide variable app.session_cookie_name has been deprecated, in favor of app.config['SESSION_COOKIE_NAME']. This PR replaces all references to the former with the latter.
Thanks for the PR. This is a duplicate of PR #148, with relevant discussion already happening there. Suggest to mark this PR as duplicated and close it. Still thank you, @audiodude !
In Flask 2.2.0, the app-wide variable
app.session_cookie_name
has been deprecated, in favor ofapp.config['SESSION_COOKIE_NAME']
. This PR replaces all references to the former with the latter.According to the Changelog, the deprecated attribute simply "proxied config keys on app" (source: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-0), so this change should be backwards compatible.