MCPcopy Create free account
hub / github.com/lesspass/lesspass / Meta

Class Meta

containers/backend/api/admin.py:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 password = ReadOnlyPasswordHashField()
39
40 class Meta:
41 model = LessPassUser
42 fields = ("email", "password", "is_active", "is_admin")
43
44 def clean_password(self):
45 return self.initial["password"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected