exit_url is now relative by default

This commit is contained in:
Adolfo Gómez García 2022-08-04 15:07:52 +02:00
parent f24c77f20a
commit a8a9b24596

View File

@ -423,7 +423,7 @@ def webLogout(
by django in regular basis. by django in regular basis.
""" """
if exit_url is None: if exit_url is None:
exit_url = request.build_absolute_uri(reverse('page.login')) exit_url = reverse('page.login')
try: try:
if request.user: if request.user:
authenticator = request.user.manager.getInstance() authenticator = request.user.manager.getInstance()