diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-18 16:05:35 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-18 16:05:35 +0500 |
commit | c9b67d19132b687bea9130f39f13a5515b120e5e (patch) | |
tree | 5890f28c060777ecb6be32b18daaa2d555496be6 /setup | |
parent | 3eca9acd6e6a160df8f7b86150429c3d7c09b0c3 (diff) | |
download | traccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.tar.gz traccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.tar.bz2 traccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.zip |
Implement users tokens
Diffstat (limited to 'setup')
-rw-r--r-- | setup/default.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup/default.xml b/setup/default.xml index a9d7684d4..e6d701f4c 100644 --- a/setup/default.xml +++ b/setup/default.xml @@ -62,8 +62,8 @@ </entry> <entry key='database.insertUser'> - INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, coordinateFormat, disabled, expirationTime, deviceLimit, attributes) - VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :coordinateFormat, :disabled, :expirationTime, :deviceLimit, :attributes) + INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, coordinateFormat, disabled, expirationTime, deviceLimit, token, attributes) + VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :coordinateFormat, :disabled, :expirationTime, :deviceLimit, :token, :attributes) </entry> <entry key='database.updateUser'> @@ -82,6 +82,7 @@ disabled = :disabled, expirationTime = :expirationTime, deviceLimit = :deviceLimit, + token = :token, attributes = :attributes WHERE id = :id </entry> |