django-resonant-settings 0.27__py3-none-any.whl → 0.28__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-resonant-settings
3
- Version: 0.27
3
+ Version: 0.28
4
4
  Summary: Shared Django settings for Resonant applications.
5
5
  Project-URL: Repository, https://github.com/kitware-resonant/cookiecutter-resonant
6
6
  Project-URL: Bug Reports, https://github.com/kitware-resonant/cookiecutter-resonant/issues
@@ -1,6 +1,6 @@
1
1
  resonant_settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  resonant_settings/_env.py,sha256=TA97UtDkh7tgBIPc92Osj4FtrBfzMTCmBQ6UR1dPHEk,36
3
- resonant_settings/allauth.py,sha256=X1B2gTGYW4QIzHi4ZTuZbpdKWdrd5fZyz3ULAPGedc0,1803
3
+ resonant_settings/allauth.py,sha256=J4sYXDF-_m6-KZKQHCTltQ7ff7wCMaitDPrWhu1rCKY,1715
4
4
  resonant_settings/celery.py,sha256=CcY6ky46F0WzTzdlSTNJJe1pItLgsTt_9S6eqOTl5EM,3049
5
5
  resonant_settings/debug_toolbar.py,sha256=GhIMbjYsHjiRhrRF6qhYwg-f4gqfO_9OPtD9x-wXz2o,427
6
6
  resonant_settings/django.py,sha256=x7YKyP3KTiit_lPGpGYyepFg9gWKQEIXmCyHnCOBYZs,1500
@@ -24,7 +24,7 @@ resonant_settings/production/https.py,sha256=2mru4jteqwW4z1AJJwvqy5sZhpxTh-9OidH
24
24
  resonant_settings/production/s3_storage.py,sha256=MDqpxX92t91E50Or_cMXpPzR40OuN52QrGcYJYRmXCQ,968
25
25
  resonant_settings/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  resonant_settings/testing/minio_storage.py,sha256=3t7F_mA-p9U06kfn7tz5rOfSwefjhauVPj_1D0x4toM,921
27
- django_resonant_settings-0.27.dist-info/METADATA,sha256=m1zZFdxEkiPiFLEyrB0Q6ZpiUpAc6wzFmeLL0yJmw6Y,1667
28
- django_resonant_settings-0.27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
29
- django_resonant_settings-0.27.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
30
- django_resonant_settings-0.27.dist-info/RECORD,,
27
+ django_resonant_settings-0.28.dist-info/METADATA,sha256=I2RETXe1kBsVzCF2jvBL6w_LaT0Bwjja7hbsPmtQCsw,1667
28
+ django_resonant_settings-0.28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
29
+ django_resonant_settings-0.28.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
30
+ django_resonant_settings-0.28.dist-info/RECORD,,
@@ -23,11 +23,11 @@ AUTHENTICATION_BACKENDS = [
23
23
  # see configuration documentation at
24
24
  # https://django-allauth.readthedocs.io/en/latest/configuration.html
25
25
 
26
- # Require email verification, but this can be overridden
26
+ # Require email verification
27
27
  ACCOUNT_EMAIL_VERIFICATION = "mandatory"
28
28
 
29
29
  # Use email as the identifier for login
30
- ACCOUNT_AUTHENTICATION_METHOD = "email"
30
+ ACCOUNT_LOGIN_METHODS = {"email"}
31
31
  ACCOUNT_EMAIL_REQUIRED = True
32
32
  ACCOUNT_USERNAME_REQUIRED = False
33
33
 
@@ -40,8 +40,7 @@ ACCOUNT_SESSION_REMEMBER = True
40
40
  ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
41
41
  ACCOUNT_LOGIN_ON_PASSWORD_RESET = True
42
42
 
43
- # These will permit GET requests to mutate the user state, but significantly improve usability
44
- ACCOUNT_LOGOUT_ON_GET = True
43
+ # Confirm URLs include a secret token, so CSRF safety isn't a concern
45
44
  ACCOUNT_CONFIRM_EMAIL_ON_GET = True
46
45
 
47
46
  # This will likely become the default in the future, but enable it now