Commit Graph

7 Commits

Author SHA1 Message Date
Florent Daigniere
2db75921a2 Ensure we have an api_token 2024-04-20 08:46:47 +02:00
Florent Daigniere
4837a05c71 simplify the logic 2024-04-18 19:37:02 +02:00
Dimitri Huisman
6347c18f8a Process review comments (PR2464) 2022-12-27 11:32:57 +01:00
Dimitri Huisman
61d092922c Process review comments (PR2464) 2022-12-27 11:32:57 +01:00
Dimitri Huisman
7a36f6bbb9 Use hmac.compare_digest to prevent timing attacks. 2022-12-27 11:32:56 +01:00
Dimitri Huisman
5c9cdfe1de Introduction of the Mailu RESTful API.
Anything that can be configured in the web administration interface,
can also be configured via the Mailu RESTful API.
See the section Advanced configuration in the configuration reference
for the relevant settings in mailu.env for enabling the API.
(API, WEB_API, API_TOKEN).
2022-12-27 11:32:54 +01:00
Alexander Graf
866ad89dfc first try at api using flask-restx & marshmallow 2022-12-27 11:20:59 +01:00