File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
warehouse/templates/manage Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 20
20
{% block main %}
21
21
< h2 > Project settings</ h2 >
22
22
23
+ < h3 > API tokens</ h3 >
24
+ < p > API tokens provide an alternative way to authenticate when uploading packages to PyPI.</ p >
25
+ {% if user.has_primary_verified_email %}
26
+ < p class ="no-bottom-padding ">
27
+ < a href ="{{ request.route_path('manage.account.token') }} " class ="button button--primary "> Create a token for {{ project.name }}</ a >
28
+ </ p >
29
+ {% else %}
30
+ < p class ="no-bottom-padding ">
31
+ < a href ="{{ request.route_path('manage.account') }}#account-emails "> Verify your primary email address</ a > to add an API token for {{ project.name }}.
32
+ </ p >
33
+ {% endif %}
34
+ < hr >
35
+
23
36
< div class ="callout-block " data-controller ="dismissable " data-dismissable-identifier ="settings ">
24
37
< h3 > Project description and sidebar</ h3 >
25
38
< p >
You can’t perform that action at this time.
0 commit comments