diff --git a/core/admin/mailu/internal/views.py b/core/admin/mailu/internal/views.py index 3b6163e0..f5aaa1c0 100644 --- a/core/admin/mailu/internal/views.py +++ b/core/admin/mailu/internal/views.py @@ -122,7 +122,7 @@ def dovecot_quota(ns, user_email): def dovecot_sieve(script, user_email): user = models.User.query.get(user_email) or flask.abort(404) if script == "default": - return flask.jsonify(flask.render_template("default.sieve")) + return flask.jsonify(flask.render_template("default.sieve", user=user)) else: flask.abort(404)