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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user