mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 01:44:13 +00:00
update send email error msg
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user