GUACAMOLE-770: Add ability to clear out TOTP data.

This commit is contained in:
Virtually Nick
2019-12-26 18:05:59 -05:00
parent 1ede1263d1
commit fae22a3f80
5 changed files with 89 additions and 13 deletions

View File

@@ -29,5 +29,12 @@ angular.module('guacTOTP').config(['formServiceProvider',
controller : 'authenticationCodeFieldController',
templateUrl : 'app/ext/totp/templates/authenticationCodeField.html'
});
// Add field type for resetting TOTP data
formServiceProvider.registerFieldType('GUAC_TOTP_RESET', {
module : 'guacTOTP',
controller : 'totpResetFieldController',
templateUrl : 'app/form/templates/checkboxField.html'
});
}]);