Skip to content
Snippets Groups Projects
Verified Commit ed8d0fe6 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Fix app password visibility issues

parent 2564847c
Branches
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@ class AppPasswordTable(tables.Table):
def value_key(self, value):
out_val = "****"
if len(value) < 2:
if len(value) < 4:
return out_val
return out_val + value[2:]
return out_val + value[-4:]
def render_key(self, value):
return self.value_key(value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment