diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 70b1ff7..7f1dc33 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -54,6 +54,51 @@ +
+

API key

+

+ API keys are tokens used to authenticate you on pagure. They can also + be used to grant access to 3rd party application to behave on this + project on your name. +

+

+ These keys are valid for 60 days. +

+

+ These keys are private to your project, make sure to store in a safe + place and do not share it. +

+ + {% if repo.tokens %} + + {% for token in repo.tokens %} + {% if token.user.username == g.fas_user.username %} + + + + + + {% endif %} + {% endfor %} +
+ {{ token.id }} + + valid until: {{ token.expiration.date() }} + + ACLs +
+ {% endif %} + + + + +
+

Project's options

{{ plugin }}
{% endfor %} - {% endif %} @@ -230,6 +274,25 @@ {% block jscripts %} {{ super() }}