diff --git a/src/pages/tokens.html b/src/pages/tokens.html index 40d5b93..c13c392 100644 --- a/src/pages/tokens.html +++ b/src/pages/tokens.html @@ -3,6 +3,8 @@ subject: "ReadLaterByEmail tokens" LOGO: "{{ asset('images/logo.png') }}" TOKEN_NAME: "{{ $token->token_name }}" API_TOKEN: "{{ $token->api_token }}" +DELETE_URL: "{{ URL::temporarySignedRoute('delete', now()->addHour(), ['token' => $token->api_token, 'email' => $user->email]) }}" +DELETE: "{{ __('delete') }}" --- @@ -15,12 +17,15 @@ API_TOKEN: "{{ $token->api_token }}" @foreach($tokens as $token)
- + {{{ TOKEN_NAME }}} - + {{{ API_TOKEN }}} + + {{{ DELETE }}} + @endforeach