From 3240d452cbcdf9553e47d5a95604e5c7e92924cd Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Mon, 8 Aug 2022 09:47:35 -0500 Subject: Got rid of token field --- web/app/view/dialog/UserController.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'web/app/view/dialog/UserController.js') 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', -- cgit v1.2.3