You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/02/05 18:04:38 UTC

[20/21] guacamole-client git commit: GUACAMOLE-96: Remove unused field controller.

GUACAMOLE-96: Remove unused field controller.

Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/456b8a03
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/456b8a03
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/456b8a03

Branch: refs/heads/master
Commit: 456b8a0394c7cc5dc6ed8dd02f9a83383b05d63b
Parents: 96e3d02
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Nov 20 16:20:13 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Sun Feb 4 19:45:18 2018 -0800

----------------------------------------------------------------------
 .../src/main/resources/config/totpConfig.js     |  1 -
 .../authenticationCodeFieldController.js        | 29 --------------------
 2 files changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/456b8a03/extensions/guacamole-auth-totp/src/main/resources/config/totpConfig.js
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-totp/src/main/resources/config/totpConfig.js b/extensions/guacamole-auth-totp/src/main/resources/config/totpConfig.js
index 54bb56c..81cc07d 100644
--- a/extensions/guacamole-auth-totp/src/main/resources/config/totpConfig.js
+++ b/extensions/guacamole-auth-totp/src/main/resources/config/totpConfig.js
@@ -26,7 +26,6 @@ angular.module('guacTOTP').config(['formServiceProvider',
     // Define field for the TOTP code provided by the user
     formServiceProvider.registerFieldType('GUAC_TOTP_CODE', {
         module      : 'guacTOTP',
-        controller  : 'authenticationCodeFieldController',
         templateUrl : 'app/ext/totp/templates/authenticationCodeField.html'
     });
 

http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/456b8a03/extensions/guacamole-auth-totp/src/main/resources/controllers/authenticationCodeFieldController.js
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-totp/src/main/resources/controllers/authenticationCodeFieldController.js b/extensions/guacamole-auth-totp/src/main/resources/controllers/authenticationCodeFieldController.js
deleted file mode 100644
index c9cecc6..0000000
--- a/extensions/guacamole-auth-totp/src/main/resources/controllers/authenticationCodeFieldController.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Controller for the "GUAC_TOTP_CODE" field which prompts the user to enter
- * the code generated by their authentication device.
- */
-angular.module('guacTOTP').controller('authenticationCodeFieldController', ['$scope', '$element',
-    function authenticationCodeFieldController($scope, $element) {
-
-    // STUB
-
-}]);