Remove bok-choy reference (#34216)

* chore: remove bok-choy references
This commit is contained in:
salmannawaz
2024-02-14 19:42:08 +05:00
committed by GitHub
parent 4daf452620
commit f76b6b4e10
6 changed files with 3 additions and 11 deletions

View File

@@ -135,8 +135,7 @@ class CacheBackedAuthenticationMiddleware(AuthenticationMiddleware, MiddlewareMi
"""
Ensure that the user's session hash hasn't changed.
"""
# Auto-auth causes issues in Bok Choy tests because it resets
# the requesting user. Since session verification is a
# Since session verification is a
# security feature, we can turn it off when auto-auth is
# enabled since auto-auth is highly insecure and only for
# tests.