diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-18 16:06:02 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-18 16:06:02 +0500 |
commit | c6d8d7646a06e2624a0dac48b93fd5b1dd0db146 (patch) | |
tree | cd248c84222c7d22f133b27b6e4769cadca01857 /web/app/view/UserDialog.js | |
parent | a252dbe43512c75afd4a17075b834f767576fd28 (diff) | |
download | trackermap-web-c6d8d7646a06e2624a0dac48b93fd5b1dd0db146.tar.gz trackermap-web-c6d8d7646a06e2624a0dac48b93fd5b1dd0db146.tar.bz2 trackermap-web-c6d8d7646a06e2624a0dac48b93fd5b1dd0db146.zip |
Implement users tokens
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index a54a20c6..52ec933c 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -130,6 +130,18 @@ Ext.define('Traccar.view.UserDialog', { fieldLabel: Strings.userDeviceLimit, disabled: true, reference: 'deviceLimitField' + }, { + xtype: 'textfield', + name: 'token', + reference: 'tokenField', + fieldLabel: Strings.userToken, + disabled: true, + triggers: { + generate: { + cls: 'iconCls: x-fa fa-refresh', + handler: 'generateToken' + } + } }] }, |