Hide api token ui behind 'tokens' query and ensure button sizes are consistent
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
/* global angular:false */
|
||||
/* global $:false */
|
||||
|
||||
angular.module('Application').controller('ProfileController', ['$scope', 'Client', function ($scope, Client) {
|
||||
angular.module('Application').controller('ProfileController', ['$scope', '$location', 'Client', function ($scope, $location, Client) {
|
||||
$scope.user = Client.getUserInfo();
|
||||
$scope.config = Client.getConfig();
|
||||
|
||||
@@ -12,6 +12,7 @@ angular.module('Application').controller('ProfileController', ['$scope', 'Client
|
||||
$scope.activeClients = [];
|
||||
$scope.webadminClient = {};
|
||||
$scope.apiClient = {};
|
||||
$scope.showApiTokens = !!$location.search().tokens;
|
||||
|
||||
$scope.twoFactorAuthentication = {
|
||||
busy: false,
|
||||
|
||||
Reference in New Issue
Block a user