Django-user-management

Latest version: v18.0.0

Safety actively analyzes 627119 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 12

14.1.0

Not secure
* Add `VerifyUserEmailView` to handle links from registration verification emails.

14.0.0

Not secure
* Clarify error message when your old and new passwords match, you will need to update translations.
* Add translation for email in `RegistrationSerializer` and `UserSerializerCreate`.

13.1.1

Not secure
* Swap `request.DATA` (deprecated in DRF v3.0, removed in DRF v3.2) for `request.data`.

13.1.0

Not secure
* Make token to verify account to expires if `VERIFY_ACCOUNT_EXPIRY` is set to
a value in seconds.

Notes

* If `VERIFY_ACCOUNT_EXPIRY` is not set the token will never expire.

13.0.0

Not secure
* Make `RegistrationSerializer` and `EmailSerializerBase` fields a tuple.

Notes

`RegistrationSerializer` or `EmailSerializerBase` subclasses adding new fields
with a `list` will generate a `TypeError`:


class CustomRegistration(RegistrationSerializer):
class Meta(RegistrationSerializer.Meta):
fields = RegistrationSerializer.Meta.fields + ['custom_field']

TypeError: can only concatenate tuple (not "list") to tuple`


To fix the previous error we use a tuple instead:


class CustomRegistration(RegistrationSerializer):
class Meta(RegistrationSerializer.Meta):
fields = RegistrationSerializer.Meta.fields + ('custom_field',)

12.0.1

Not secure
* Ensure new and old passwords differ when changing password.

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.