mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-14 07:24:58 +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:
|
for email in email_list:
|
||||||
|
|
||||||
|
vid = get_virtual_id_by_email(email)
|
||||||
try:
|
try:
|
||||||
User.objects.get(email=email)
|
User.objects.get(email=vid)
|
||||||
result['failed'].append({
|
result['failed'].append({
|
||||||
'email': email,
|
'email': email,
|
||||||
'error_msg': _(f'User {email} already exists.')
|
'error_msg': _(f'User {email} already exists.')
|
||||||
|
Loading…
Reference in New Issue
Block a user