diff --git a/management/daemon.py b/management/daemon.py index 690f8b0f..5400925f 100755 --- a/management/daemon.py +++ b/management/daemon.py @@ -43,7 +43,7 @@ def authorized_personnel_only(viewfunc): except ValueError as e: # Authentication failed. privs = [] - error = str(e) + error = "Incorrect username or password" # Authorized to access an API view? if "admin" in privs: @@ -119,7 +119,7 @@ def me(): except ValueError as e: return json_response({ "status": "invalid", - "reason": str(e), + "reason": "Incorrect username or password", }) resp = { diff --git a/management/templates/web.html b/management/templates/web.html index 6f594eeb..6a09ef0e 100644 --- a/management/templates/web.html +++ b/management/templates/web.html @@ -82,7 +82,7 @@ function show_change_web_root(elem) { var root = $(elem).parents('tr').attr('data-custom-web-root'); show_modal_confirm( 'Change Root Directory for ' + domain, - $('
You can change the static directory for ' + domain + ' to:
' + root + '
First create this directory on the server. Then click Update to scan for the directory and update web settings.'), + $('
You can change the static directory for ' + domain + ' to:
' + root + '
First create this directory on the server. Then click Update to scan for the directory and update web settings.
'), 'Update', function() { do_web_update(); }); } diff --git a/setup/webmail.sh b/setup/webmail.sh index 58faad58..053dbacc 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -38,7 +38,7 @@ VERSION=1.1.4 HASH=4883c8bb39fadf8af94ffb09ee426cba9f8ef2e3 VACATION_SIEVE_VERSION=91ea6f52216390073d1f5b70b5f6bea0bfaee7e5 PERSISTENT_LOGIN_VERSION=1e9d724476a370ce917a2fcd5b3217b0c306c24e -HTML5_NOTIFIER_VERSION=046eb388dd63b1ec77a3ee485757fc25ae9e684d +HTML5_NOTIFIER_VERSION=4b370e3cd60dabd2f428a26f45b677ad1b7118d5 UPDATE_KEY=$VERSION:$VACATION_SIEVE_VERSION:$PERSISTENT_LOGIN_VERSION:$HTML5_NOTIFIER_VERSION:a needs_update=0 #NODOC if [ ! -f /usr/local/lib/roundcubemail/version ]; then