policies/hibp: update for flows, add unittests
This commit is contained in:
@ -11,7 +11,7 @@ class HaveIBeenPwendPolicySerializer(ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = HaveIBeenPwendPolicy
|
||||
fields = GENERAL_SERIALIZER_FIELDS + ["allowed_count"]
|
||||
fields = GENERAL_SERIALIZER_FIELDS + ["password_field", "allowed_count"]
|
||||
|
||||
|
||||
class HaveIBeenPwendPolicyViewSet(ModelViewSet):
|
||||
|
||||
Reference in New Issue
Block a user