aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/UserDialogController.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index e2e822e7..020bd801 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -33,8 +33,7 @@ Ext.define('Traccar.view.UserDialogController', {
symbols: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
generateToken: function () {
- var newToken, i;
- newToken = '';
+ var i, newToken = '';
for (i = 0; i < 16; i++) {
newToken += this.symbols.charAt(Math.floor(Math.random() * this.symbols.length));