Token is now shown again anymore

This commit is contained in:
Girish Ramakrishnan
2019-02-15 13:08:53 -08:00
parent 8ccf17543a
commit db54a305b0
+6 -6
View File
@@ -217,9 +217,13 @@
</div>
<div ng-show="tokenAdd.token.accessToken">
Use the following token to authenticate against the Cloudron API:
Use the following token to authenticate against the <a href="https://cloudron.io/developer/api/" target="_blank">Cloudron API</a>:
<br/>
<b ng-click-select>{{ tokenAdd.token.accessToken }}</b>
<br/>
<br/>
<p>Please copy the token now. It won't be shown again for security purposes.</p>
</div>
</div>
<div class="modal-footer">
@@ -298,8 +302,7 @@
<table class="table table-hover">
<thead>
<tr>
<th style="width:40%">Name</th>
<th style="width:55%" class="hidden-xs hidden-sm">Token</th>
<th style="width:70%">Name</th>
<th style="width: 5%" class="text-right">Actions</th>
</tr>
</thead>
@@ -308,9 +311,6 @@
<td class="text-left elide-table-cell">
{{ token.name || '-' }}
</td>
<td class="text-left hand elide-table-cell hidden-xs hidden-sm" ng-click="useredit.show(user)">
<span ng-click-select>{{ token.accessToken }}</span>
</td>
<td class="text-right no-wrap" style="vertical-align: bottom">
<button class="btn btn-xs btn-danger pull-right" ng-click="removeToken(apiClient, token)" title="Revoke Token"><i class="far fa-trash-alt"></i></button>
</td>