We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8789de7 + bc9713d commit baefebcCopy full SHA for baefebc
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