diff --git a/hospexplorer/ask/templates/account/messages/README.md b/hospexplorer/ask/templates/account/messages/README.md new file mode 100644 index 0000000..f67605a --- /dev/null +++ b/hospexplorer/ask/templates/account/messages/README.md @@ -0,0 +1,5 @@ +# Why these files are empty + +The `logged_in.txt` and `logged_out.txt` files are intentionally empty. They override the default django-allauth message templates to suppress the built-in "Successfully signed in" and "Successfully signed out" toast notifications. + +If allauth doesn't find these overrides, it falls back to its own templates which display flash messages on login/logout. Keeping these files empty effectively disables those messages. diff --git a/hospexplorer/ask/templates/account/messages/logged_in.txt b/hospexplorer/ask/templates/account/messages/logged_in.txt new file mode 100644 index 0000000..e69de29 diff --git a/hospexplorer/ask/templates/account/messages/logged_out.txt b/hospexplorer/ask/templates/account/messages/logged_out.txt new file mode 100644 index 0000000..e69de29