aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 8ab3f6b2..34c3b4a1 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -145,11 +145,18 @@ Ext.define('Traccar.view.UserDialog', {
disabled: true,
reference: 'userLimitField'
}, {
+ xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
+ name: 'deviceReadonly',
+ fieldLabel: Strings.userDeviceReadonly,
+ disabled: true,
+ reference: 'deviceReadonlyField'
+ }, {
xtype: 'textfield',
name: 'token',
reference: 'tokenField',
fieldLabel: Strings.userToken,
- disabled: true,
triggers: {
generate: {
cls: 'iconCls: x-fa fa-refresh',