From ec14a117b75b7f18636cbedf7d5f0cdac0615a1b Mon Sep 17 00:00:00 2001
From: snipe
Date: Mon, 9 Nov 2020 22:55:27 -0800
Subject: [PATCH] Display on the API token page the expiration in years
TODO: Translate these strings
---
resources/views/account/api.blade.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/resources/views/account/api.blade.php b/resources/views/account/api.blade.php
index 0a7c6bc0b9..f3170a2984 100644
--- a/resources/views/account/api.blade.php
+++ b/resources/views/account/api.blade.php
@@ -27,6 +27,8 @@
{{ url('/api/v1') }}
When you generate an API token, be sure to copy it down immediately as they will not be visible to you again.
+
+ API tokens will expire in {{ config('passport.expiration_years') }} years.