This commit is contained in:
Valentin Samir 2015-06-07 23:50:25 +02:00
parent 277788e593
commit 8fe1738183

View file

@ -211,6 +211,7 @@ class LoginView(View, LogoutMixin):
)
else:
# redirect, using method ?
list(messages.get_messages(self.request)) # clean messages before leaving django
return HttpResponseRedirect(
self.user.get_service_url(self.service, service_pattern, renew=self.renew)
)