Merge branch 'thubrecht/redirect' into 'master'
get_next_url renvoie une str Closes #15 See merge request klub-dev-ens/authens!29
This commit is contained in:
commit
c2bacdd86d
|
@ -32,7 +32,7 @@ class NextPageMixin:
|
|||
del request.session["CASNEXT"]
|
||||
if next_url is None:
|
||||
next_url = settings.LOGIN_REDIRECT_URL
|
||||
return next_url
|
||||
return str(next_url)
|
||||
|
||||
|
||||
class LoginSwitchView(NextPageMixin, TemplateView):
|
||||
|
|
Loading…
Reference in a new issue