We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8789de7 commit bc9713dCopy full SHA for bc9713d
1 file changed
multinet/settings.py
@@ -59,4 +59,9 @@ class ProductionConfiguration(MultinetMixin, ProductionBaseConfiguration):
59
60
61
class HerokuProductionConfiguration(MultinetMixin, HerokuProductionBaseConfiguration):
62
- pass
+ # All login attempts in production should go straight to Google
63
+ LOGIN_URL = '/accounts/google/login/'
64
+
65
+ # Don't require a POST request to initiate a Google login
66
+ # https://github.com/pennersr/django-allauth/blob/HEAD/ChangeLog.rst#backwards-incompatible-changes-2
67
+ SOCIALACCOUNT_LOGIN_ON_GET = True
0 commit comments