fix: avoid deprecated method to suggest username
This commit is contained in:
parent
072db39233
commit
535317e4f7
|
@ -1382,8 +1382,8 @@ class PersonView(MasterView):
|
|||
}
|
||||
|
||||
if not context['users']:
|
||||
context['suggested_username'] = auth.generate_unique_username(self.Session(),
|
||||
person=person)
|
||||
context['suggested_username'] = auth.make_unique_username(self.Session(),
|
||||
person=person)
|
||||
|
||||
return context
|
||||
|
||||
|
|
Loading…
Reference in a new issue