forked from shaba/openuds
exit_url is now relative by default
This commit is contained in:
parent
f24c77f20a
commit
a8a9b24596
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user