1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +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)
if not IS_EMAIL_CONFIGURED:
error_msg = _('Failed to send email, email service is not properly configured, \
please contact administrator.')
error_msg = _('Failed to send email, email service is not properly configured, please contact administrator.')
return api_error(status.HTTP_403_FORBIDDEN, error_msg)
# parameter check