Commit a500d0a4 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

vidjil_utils.py, anonymization: start of last name is enough

parent ddf250aa
......@@ -48,4 +48,4 @@ def anon(patient_id, user_id):
if auth.has_permission("anon", "patient", patient_id, user_id):
return last_name + " " + first_name
else:
return last_name[:3] + " " + first_name[:3]
return last_name[:3]
Markdown is supported
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