The values of these variables can be found on the app/send_email.py
The hash challenge is just using the api_key_hash column of api_keys table but with a different algorithm in order to reuse the field for email validation and api_key storage
disclaimer:
Input validation of the form is still returning json, but I am too lazy to correct this right now
A lot of info still missing on the emails sended, but this makes me even moaar lazy, so I leave it to you guys :relaxed:
Probably this approach will generate a lot of new inserts in api_keys per source (although this can be easily corrected)
This is just a proposal, everything can be discarded if the maintainers find a better approbach, no hard feelings of course :smile_cat:
Basic email registration prototype
Just spin up a smpt server (like
docker run -d -p 25:25 namshi/smtp
) and configure linka with these environment variables:or use your gmail account, if you want, like here
The values of these variables can be found on the
app/send_email.py
The hash challenge is just using the api_key_hash column of api_keys table but with a different algorithm in order to reuse the field for email validation and api_key storage
disclaimer:
The power is yours!
neowinx