mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-13 15:05:30 +00:00
Merge branch '11.0'
This commit is contained in:
commit
a3bcc2d5ec
@ -827,8 +827,9 @@ class OrgAdminInviteUser(APIView):
|
||||
|
||||
for email in email_list:
|
||||
|
||||
vid = get_virtual_id_by_email(email)
|
||||
try:
|
||||
User.objects.get(email=email)
|
||||
User.objects.get(email=vid)
|
||||
result['failed'].append({
|
||||
'email': email,
|
||||
'error_msg': _(f'User {email} already exists.')
|
||||
|
Loading…
Reference in New Issue
Block a user