From 9139b917cfe84a35c26936bdd235e7c23dc1c1ae Mon Sep 17 00:00:00 2001 From: John Supplee Date: Fri, 1 Feb 2019 01:21:44 +0200 Subject: [PATCH] Finally put the default quota load code in the right place --- management/templates/index.html | 9 --------- management/templates/users.html | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/management/templates/index.html b/management/templates/index.html index f6efda5c..2c0d5a9a 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -377,15 +377,6 @@ function show_panel(panelid) { } $(function() { - api( - "/system/default-quota", - "GET", - {}, - function(r) { - $('#adduserQuota').val(r['default-quota']); - } - ); - // Recall saved user credentials. if (typeof sessionStorage != 'undefined' && sessionStorage.getItem("miab-cp-credentials")) api_credentials = sessionStorage.getItem("miab-cp-credentials").split(":"); diff --git a/management/templates/users.html b/management/templates/users.html index 9e6899e0..9edbe421 100644 --- a/management/templates/users.html +++ b/management/templates/users.html @@ -39,6 +39,7 @@
  • Use aliases to create email addresses that forward to existing accounts.
  • Administrators get access to this control panel.
  • User accounts cannot contain any international (non-ASCII) characters, but aliases can.
  • +
  • Quotas may not contain any numbers or commas. Suffixes of G (gigabytes) and M (megabytes) are allowed. For unlimited storage enter 0 (zero)
  • Existing mail users

    @@ -141,6 +142,15 @@ curl -X POST -d "email=new_user@mydomail.com" https://{{hostname}}/admin/mail/us