forked from orbit-oss/flask
Merge branch 'stable'
This commit is contained in:
commit
daca74d93a
6 changed files with 64 additions and 47 deletions
|
|
@ -1411,8 +1411,8 @@ class Flask(App):
|
|||
for func in reversed(self.after_request_funcs[name]):
|
||||
response = self.ensure_sync(func)(response)
|
||||
|
||||
if not self.session_interface.is_null_session(ctx.session):
|
||||
self.session_interface.save_session(self, ctx.session, response)
|
||||
if not self.session_interface.is_null_session(ctx._session):
|
||||
self.session_interface.save_session(self, ctx._session, response)
|
||||
|
||||
return response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue