diff --git a/app/models.py b/app/models.py index ef9a2935..f0b3248f 100644 --- a/app/models.py +++ b/app/models.py @@ -424,7 +424,7 @@ class User(Base, ModelMixin, UserMixin, PasswordOracle): # whether to include the sender address in reverse-alias include_sender_in_reverse_alias = sa.Column( - sa.Boolean, default=False, nullable=False, server_default="0" + sa.Boolean, default=True, nullable=False, server_default="0" ) # whether to use random string or random word as suffix diff --git a/static/style.css b/static/style.css index 3d792283..6c157051 100644 --- a/static/style.css +++ b/static/style.css @@ -213,4 +213,8 @@ textarea.parsley-error { } .middle-line:after { margin-left: 10px +} + +.italic { + font-style: italic; } \ No newline at end of file diff --git a/templates/dashboard/mailbox_detail.html b/templates/dashboard/mailbox_detail.html index a0e9064f..957170ad 100644 --- a/templates/dashboard/mailbox_detail.html +++ b/templates/dashboard/mailbox_detail.html @@ -71,6 +71,14 @@ + {% if mailbox.pgp_finger_print and not mailbox.disable_pgp and current_user.include_sender_in_reverse_alias %} + +