mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-01 18:52:23 +02:00

Fix #780 This a breaking change, the API for authentication is different, as it now requires `project_id`. Token is generated with only the project_id (so it's shorter than before), and signature is done by mixing password with secret key. Thus, it expires on every project code change.
8 lines
298 B
Django/Jinja
8 lines
298 B
Django/Jinja
Hi,
|
|
|
|
You requested to reset the password of the following project: "{{ project.name }}".
|
|
You can reset it here: {{ url_for(".reset_password", _external=True, token=project.generate_token(token_type="reset")) }}.
|
|
This link is only valid for one hour.
|
|
|
|
Hope this helps,
|
|
Some weird guys (with beards)
|