plain.auth 0.12.0__py3-none-any.whl → 0.12.1__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.
plain/auth/middleware.py CHANGED
@@ -22,6 +22,7 @@ class AuthenticationMiddleware:
22
22
  "'plain.sessions.middleware.SessionMiddleware' before "
23
23
  "'plain.auth.middleware.AuthenticationMiddleware'."
24
24
  )
25
+
25
26
  request.user = SimpleLazyObject(lambda: get_user(request))
26
- response = self.get_response(request)
27
- return response
27
+
28
+ return self.get_response(request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.auth
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: User authentication and authorization for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -1,11 +1,11 @@
1
1
  plain/auth/README.md,sha256=RJ8ry-ukLtLqcjRVAZ5cd1JgCr-JcUTi_9Kkg4kGmHc,2408
2
2
  plain/auth/__init__.py,sha256=oDOVSov5os1_l-hYNlGd5hb6vy0rF5Q3VMRV1UOZeFU,123
3
3
  plain/auth/default_settings.py,sha256=65VzDn3j61OMn78Lg6Zuds4A8QKzJJ_0G9KoFqAOIRo,466
4
- plain/auth/middleware.py,sha256=YJrzhro89SdSNDtfwyQM8jGgU5GmXvApZWiktit6K70,980
4
+ plain/auth/middleware.py,sha256=K7e9n5vMvGnALKcjG92AhWQMsZ8brIuS9M9zNZqt_RI,954
5
5
  plain/auth/sessions.py,sha256=GCfXyGQhdSvMwKK3DpqK7fYjw2PiKbcZisWfrEeTRVM,5802
6
6
  plain/auth/utils.py,sha256=eEON0Mo928l-aW5tqBuoTdVke8aP4majxVtAFoLroSE,1280
7
7
  plain/auth/views.py,sha256=_igztEBQKSM4CZro2lvlK0m01eIksqbmyux4w8gY1ks,4095
8
- plain_auth-0.12.0.dist-info/METADATA,sha256=z0OlP5WlYpxP9f9JlsYP8Yk7heXwwAc9vsWVGXL-YjQ,2762
9
- plain_auth-0.12.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- plain_auth-0.12.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
11
- plain_auth-0.12.0.dist-info/RECORD,,
8
+ plain_auth-0.12.1.dist-info/METADATA,sha256=Nq3c1OB-qJK5pzwElsyoQqGbz8mrUUYTZnkHQHKVKWc,2762
9
+ plain_auth-0.12.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ plain_auth-0.12.1.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
11
+ plain_auth-0.12.1.dist-info/RECORD,,