fix: avoid deprecated method to suggest username

This commit is contained in:
Lance Edgar 2024-10-22 15:04:40 -05:00
parent 072db39233
commit 535317e4f7

View file

@ -1382,7 +1382,7 @@ class PersonView(MasterView):
}
if not context['users']:
context['suggested_username'] = auth.generate_unique_username(self.Session(),
context['suggested_username'] = auth.make_unique_username(self.Session(),
person=person)
return context