mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Merge branch '11.0'
This commit is contained in:
@@ -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.')
|
||||
|
Reference in New Issue
Block a user