Skip to content

Commit

Permalink
Remove newlines from OIDC email subjects (pypi#13215)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Mar 16, 2023
1 parent 951ebf6 commit bc16a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions warehouse/templates/email/oidc-publisher-added/subject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@

{% extends "email/_base/subject.txt" %}

{% block subject %}
{% trans project_name=project_name %}
OpenID Connect publisher added to {{ project_name }}
{% endtrans %}
{% endblock %}
{% block subject %}{% trans project_name=project_name %}OpenID Connect publisher added to {{ project_name }}{% endtrans %}{% endblock %}
6 changes: 1 addition & 5 deletions warehouse/templates/email/oidc-publisher-removed/subject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@

{% extends "email/_base/subject.txt" %}

{% block subject %}
{% trans project_name=project_name %}
OpenID Connect publisher removed from {{ project_name }}
{% endtrans %}
{% endblock %}
{% block subject %}{% trans project_name=project_name %}OpenID Connect publisher removed from {{ project_name }}{% endtrans %}{% endblock %}

0 comments on commit bc16a64

Please sign in to comment.