From 136be53a084b84a0a764d0d326146fca241733f4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 27 Jun 2015 10:50:40 +1200 Subject: Fix user security issue --- web/app/view/user/UserDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/app/view/user/UserDialog.js') diff --git a/web/app/view/user/UserDialog.js b/web/app/view/user/UserDialog.js index 7b6dc4199..fba182eb1 100644 --- a/web/app/view/user/UserDialog.js +++ b/web/app/view/user/UserDialog.js @@ -50,7 +50,9 @@ Ext.define('Traccar.view.user.UserDialog', { xtype: 'checkboxfield', name: 'admin', fieldLabel: strings.login_admin, - allowBlank: false + allowBlank: false, + disabled: true, + reference: 'adminField' }] }, -- cgit v1.2.3