Add forgot-password SMS reset, client/staff user lists, and regenerate Swagger.

Fold follow-up migrations into init, expose GET /users/clients and /users/staff, and refresh seed data.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-14 16:42:47 +05:00
parent 5e3c46da83
commit 514b9ca5fc
24 changed files with 1477 additions and 473 deletions

View File

@@ -13,4 +13,6 @@ type Repository interface {
GetVerificationByPhone(ctx context.Context, phone string) (Verification, error)
IncrementVerifyAttempts(ctx context.Context, id int64) error
CompleteRegistration(ctx context.Context, v Verification) (int, error)
GetUserByName(ctx context.Context, name string) (UserIdentity, error)
CompletePasswordReset(ctx context.Context, userID int, verificationID int64, passwordHash string) error
}