This is an automated email from the ASF dual-hosted git repository. sbp pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit ba6acebe27494bc2bdc4cf3185d3a8aba07ccdda Author: Sean B. Palmer <[email protected]> AuthorDate: Tue Jan 27 17:33:39 2026 +0000 Clear a session before setting an impersonated session --- atr/admin/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atr/admin/__init__.py b/atr/admin/__init__.py index 5037a5e..e983fc0 100644 --- a/atr/admin/__init__.py +++ b/atr/admin/__init__.py @@ -163,6 +163,7 @@ async def browse_as_post(session: web.Committer, browse_form: BrowseAsUserForm) bind_password, ) log.info(f"New Quart cookie (not ASFQuart session) data: {log_safe_data}") + asfquart.session.clear() asfquart.session.write(new_session_data) await quart.flash( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
