From a8c18ff30ce808e7d16e542719c5dc8f96e51fff Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 7 Mar 2025 16:17:26 +0100 Subject: [PATCH] chore: update oauth provider deprecation message Mention that it's important to logout and login again to have the new provider replace the old one in the session --- umap/middleware.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umap/middleware.py b/umap/middleware.py index 5312c551..450494b4 100644 --- a/umap/middleware.py +++ b/umap/middleware.py @@ -34,7 +34,8 @@ def deprecated_auth_backend(get_response): "Using ā€œ%(name)sā€ to authenticate is deprecated and will be " "removed soon. " "Please configure another provider below before losing access " - "to your account and maps." + "to your account and maps. Then, please logout and login " + "again with the new provider." ) % {"name": name}, )