mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
wip: Limits and resellers
* refactoring, limits are working pretty well * domain admins can now create domains (under control) when the limits extension is enabled see #105
This commit is contained in:
@@ -31,6 +31,8 @@ events = [
|
||||
"MailboxAliasDeleted",
|
||||
|
||||
"DomainAdminCreated",
|
||||
"DomainAdminActions",
|
||||
"DomainAdminDeleted",
|
||||
|
||||
"PasswordChange",
|
||||
|
||||
|
||||
+2
-1
@@ -34,4 +34,5 @@ class CommonExceptionCatcher(object):
|
||||
return _render_error(request, errortpl="error_simple",
|
||||
user_context=dict(error=str(exception)))
|
||||
|
||||
return ajax_response(request, status="ko", respmsg=str(exception))
|
||||
return ajax_response(request, status="ko", respmsg=str(exception),
|
||||
norefresh=True)
|
||||
|
||||
Reference in New Issue
Block a user