add authentication to our form
We've added a Parameter "tb=1" to our form, which adds a toolbar with a login button.
Currently it's possible to login to the backend via CURL
cbleek@xenon:~$ curl -c "/tmp/cookie" -d "appKey=SecretYawikDemoKey&user=demo&pass=demo" https://form2mail.yawik.org/login/extern?format=json
{"status":"success","token":"47lcdsctrick5hcvjlkadmur6n"}
The following credential can be used:
var | val |
---|---|
appKey | SecretYawikDemoKey |
user | demo |
pass | demo |
@tmcdos do you have time to add the logic needed, so a user can login/logout