Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#51749] The Access Token expiry date not updated on refresh for FileStorage tokens

Dominic Bräunlein4c3c121b05d8
diff --git a/app/views/my/access_token_partials/_storage_tokens_section.html.erb b/app/views/my/access_token_partials/_storage_tokens_section.html.erb
index f3c7a9f946d..4e43e6f00b3 100644
--- a/app/views/my/access_token_partials/_storage_tokens_section.html.erb
+++ b/app/views/my/access_token_partials/_storage_tokens_section.html.erb
@@ -59,7 +59,7 @@ See COPYRIGHT and LICENSE files for more details.
<span><%= format_time(token.created_at) %></span>
</td>
<td>
- <span><%= format_time(token.created_at + token.expires_in.seconds) %></span>
+ <span><%= format_time(token.updated_at + token.expires_in.seconds) %></span>
</td>
<td class="buttons">
<%= link_to "",