feat: forgot/reset password API (variant A). Fixes EventHub/EventHubBack#57
CI / test (push) Successful in 7m20s
CI / deploy-ift (push) Successful in 6m9s
CI / e2e-ift (push) Successful in 1m28s
CI / deploy-stage (push) Successful in 2m34s
CI / e2e-stage (push) Successful in 1m11s

This commit is contained in:
2026-07-24 20:12:53 +03:00
parent e3013075cc
commit 61816e15b1
16 changed files with 592 additions and 5 deletions
+3
View File
@@ -85,6 +85,8 @@ start_http() ->
{"/health", handler_health, []},
{"/v1/register", handler_register, []},
{"/v1/verify", handler_verify, []},
{"/v1/forgot-password", handler_forgot_password, []},
{"/v1/reset-password", handler_reset_password, []},
{"/v1/login", handler_login, []},
{"/v1/refresh", handler_refresh, []},
{"/v1/user/me", handler_user_me, []},
@@ -148,6 +150,7 @@ start_admin_http() ->
{"/v1/admin/users/stats", admin_handler_user_stats, []},
{"/v1/admin/users/:id", admin_handler_user_by_id, []},
{"/v1/admin/users/:id/verification-token", admin_handler_user_verification_token, []},
{"/v1/admin/users/:id/password-reset-token", admin_handler_user_password_reset_token, []},
% ================== КАЛЕНДАРИ ==================
{"/v1/admin/calendars", admin_handler_calendars, []},
{"/v1/admin/calendars/stats", admin_handler_calendar_stats, []},