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:
@@ -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
|
||||
|
Reference in New Issue
Block a user