Commit d8434d33 authored by anthraxx's avatar anthraxx
Browse files

anonymize displayed id so its not stealable as easily

parent 9f4ea2e6
......@@ -16,7 +16,7 @@ class Customer(Base):
@property
def name(self):
return self._name or str(self.id)
return self._name or (str(self.id)[:-5] + "x" * 5)
@name.setter
def name(self, value):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment