Login with hash and salt

cristian8 years ago

How can i logging in traccar giving by POST or GET, user and password??

I am using it with a database, that have hash and salt.

I want to enter directly giving the parameters.

Thanks.

Anton Tananaev8 years ago

Not sure if I understand you correctly, but to login you need to use API:

https://www.traccar.org/traccar-api/

cristian8 years ago

When i use mysql with traccar i can't login, sending the parameters with the api i mean.

When i am not using it with mysql, i can connect to it correctly.

i just need an example how to send the hash and salt, and login into traccar with that parameters.

Anton Tananaev8 years ago

You can take a look at official web interface for usage example:

https://github.com/tananaev/traccar/blob/master/web/app/view/LoginController.js