mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 06:31:22 +00:00
GUACAMOLE-770: Add ability to clear out TOTP data.
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
}]);
|
||||
|
Reference in New Issue
Block a user