From c71f411ad6593a496a041505f8a6642a4ae55eea Mon Sep 17 00:00:00 2001
From: Maxim Filippov <colixer@gmail.com>
Date: Mon, 18 Feb 2019 00:01:18 +0300
Subject: Show only "app_name" and "valid_until" (OAuth tokens table)

---
 src/components/user_settings/user_settings.vue | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'src/components/user_settings/user_settings.vue')

diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue
index 116c1335..a1123638 100644
--- a/src/components/user_settings/user_settings.vue
+++ b/src/components/user_settings/user_settings.vue
@@ -126,16 +126,14 @@
             <table class="oauth-tokens">
               <thead>
                 <tr>
-                  <th>{{$t('settings.token')}}</th>
-                  <th>{{$t('settings.refresh_token')}}</th>
+                  <th>{{$t('settings.app_name')}}</th>
                   <th>{{$t('settings.valid_until')}}</th>
                   <th></th>
                 </tr>
               </thead>
               <tbody>
                 <tr v-for="oauthToken in oauthTokens" :key="oauthToken.id">
-                  <td>{{oauthToken.token}}</td>
-                  <td>{{oauthToken.refreshToken}}</td>
+                  <td>{{oauthToken.appName}}</td>
                   <td>{{oauthToken.validUntil}}</td>
                   <td class="actions">
                     <button class="btn btn-default" @click="revokeToken(oauthToken.id)">
-- 
cgit v1.2.3-70-g09d2

