1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

update send email error msg

This commit is contained in:
lian
2023-12-16 11:32:42 +08:00
parent abb07f0871
commit 7ce3d83cc1

View File

@@ -780,8 +780,7 @@ class OrgAdminInviteUser(APIView):
return api_error(status.HTTP_403_FORBIDDEN, error_msg) return api_error(status.HTTP_403_FORBIDDEN, error_msg)
if not IS_EMAIL_CONFIGURED: if not IS_EMAIL_CONFIGURED:
error_msg = _('Failed to send email, email service is not properly configured, \ error_msg = _('Failed to send email, email service is not properly configured, please contact administrator.')
please contact administrator.')
return api_error(status.HTTP_403_FORBIDDEN, error_msg) return api_error(status.HTTP_403_FORBIDDEN, error_msg)
# parameter check # parameter check