From e8850343bdb1e5e6a1c366aeacdff1f91bfa5daf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 17 Nov 2016 22:48:33 +1300 Subject: Add user expiration and device limit --- web/app/model/User.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'web/app/model') diff --git a/web/app/model/User.js b/web/app/model/User.js index 56748e45..48912417 100644 --- a/web/app/model/User.js +++ b/web/app/model/User.js @@ -61,6 +61,16 @@ Ext.define('Traccar.model.User', { }, { name: 'coordinateFormat', type: 'string' + }, { + name: 'disabled', + type: 'boolean' + }, { + name: 'expirationTime', + type: 'date', + dateFormat: 'c' + }, { + name: 'deviceLimit', + type: 'int' }, { name: 'attributes' }], -- cgit v1.2.3