aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/UserController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/UserController.js')
-rw-r--r--web/app/view/dialog/UserController.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/web/app/view/dialog/UserController.js b/web/app/view/dialog/UserController.js
index 7383f9e..9a2e3b6 100644
--- a/web/app/view/dialog/UserController.js
+++ b/web/app/view/dialog/UserController.js
@@ -36,16 +36,6 @@ Ext.define('Traccar.view.dialog.UserController', {
symbols: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
- generateToken: function () {
- var i, newToken = '';
-
- for (i = 0; i < 32; i++) {
- newToken += this.symbols.charAt(Math.floor(Math.random() * this.symbols.length));
- }
-
- this.lookupReference('tokenField').setValue(newToken);
- },
-
testNotification: function () {
Ext.Ajax.request({
url: 'api/notifications/test',