Skip to content
Snippets Groups Projects
Commit 55937059 authored by ale's avatar ale
Browse files

Rename the API endpoint to make it similar to python-mailman-api

parent a3605ab4
No related branches found
No related tags found
No related merge requests found
Pipeline #5141 passed
...@@ -47,7 +47,7 @@ def _connect(host='localhost', dbname=None, ...@@ -47,7 +47,7 @@ def _connect(host='localhost', dbname=None,
return c.cursor(cursor_class) return c.cursor(cursor_class)
@app.route('/api/reset_password', methods=('POST',)) @app.route('/api/pwreset', methods=('POST',))
@tls_auth @tls_auth
@sso_api_auth_required @sso_api_auth_required
@to_json @to_json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment