aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/User.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-17 22:48:33 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-17 22:48:33 +1300
commite8850343bdb1e5e6a1c366aeacdff1f91bfa5daf (patch)
tree3c9fc1d45185ef71f08280d67b1b4c9c61552ce7 /web/app/model/User.js
parent469869d4c01cd5385acee0c84faa226775454e79 (diff)
downloadtrackermap-web-e8850343bdb1e5e6a1c366aeacdff1f91bfa5daf.tar.gz
trackermap-web-e8850343bdb1e5e6a1c366aeacdff1f91bfa5daf.tar.bz2
trackermap-web-e8850343bdb1e5e6a1c366aeacdff1f91bfa5daf.zip
Add user expiration and device limit
Diffstat (limited to 'web/app/model/User.js')
-rw-r--r--web/app/model/User.js10
1 files changed, 10 insertions, 0 deletions
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
@@ -62,6 +62,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'
}],