summaryrefslogtreecommitdiffstats
path: root/src/main/resources/config/locationConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/config/locationConfig.js')
-rw-r--r--src/main/resources/config/locationConfig.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/resources/config/locationConfig.js b/src/main/resources/config/locationConfig.js
new file mode 100644
index 0000000..6074752
--- /dev/null
+++ b/src/main/resources/config/locationConfig.js
@@ -0,0 +1,11 @@
+angular.module('location').config(['formServiceProvider',
+ function locationConfig(formServiceProvider) {
+
+ // Define field for the TOTP code provided by the user
+ formServiceProvider.registerFieldType('LOCATION', {
+ module : 'location',
+ controller : 'locationFieldController',
+ templateUrl : 'app/ext/bwlp/templates/locationField.html'
+ });
+
+ }]); \ No newline at end of file