Source

django-publicauth / publicauth / backends / __init__.py

Diff from to

File publicauth/backends/__init__.py

         user = auth.authenticate(identity=self.identity, provider=self.provider)
         if user and settings.PUBLICAUTH_ACTIVATION_REQUIRED and not user.is_active:
             messages.add_message(request, messages.ERROR, lang.NOT_ACTIVATED)
-            raise Redirect(global_settings.LOGIN_REDIRECT_URL)
+            raise Redirect(settings.ACTIVATION_REDIRECT_URL)
 
         # authenticate and redirect user.
         if user: