Skip to content

Commit 57541bb

Browse files
committed
Add Nova links to token expiration email
Closes #3903
1 parent 41b34ae commit 57541bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/views/mail/oauth2/pat_expiration.blade.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
Your {{ config('app.name') }} personal access token called "{{ $token->name }}" will expire on {{ $token->expires_at }} and will not work after that time.
77
@endif
88

9-
Token expiration dates cannot be extended. If you're still using this token, you must create a new token to continue accessing the {{ config('app.name') }} API. You can create a new token by accessing your user page in the {{ config('app.name') }} admin interface and running the "Create Personal Access Token" action.
9+
You can view this token at {{ route('nova.pages.detail', ['resource' => \App\Nova\OAuth2AccessToken::uriKey(), 'resourceId' => $token->id]) }}.
10+
11+
Token expiration dates cannot be extended. If you're still using this token, you must create a new token to continue accessing the {{ config('app.name') }} API. You can create a new token by visiting your user page at {{ route('nova.pages.detail', ['resource' => \App\Nova\User::uriKey(), 'resourceId' => $token->user_id]) }} and running the "Create Personal Access Token" action.
1012

1113
If you need any assistance, ask in #it-helpdesk in Slack.
1214

0 commit comments

Comments
 (0)