feat(front): mot de passe oublié — écrans et API (#127)
- Routes /forgot-password et /reset-password (distinct de /create-password). - AuthService : POST forgot-password (réponse neutre côté UX) et reset-password. - Login : lien « Mot de passe oublié ? » vers la demande de réinitialisation. Made-with: Cursor
This commit is contained in:
@@ -46,6 +46,9 @@ class ApiConfig {
|
||||
static const String changePasswordRequired = '/auth/change-password-required';
|
||||
static const String verifyCreatePasswordToken = '/auth/verify-token';
|
||||
static const String createPassword = '/auth/create-password';
|
||||
/// Ticket #127 — mot de passe oublié (back à livrer en parallèle).
|
||||
static const String forgotPassword = '/auth/forgot-password';
|
||||
static const String resetPassword = '/auth/reset-password';
|
||||
|
||||
// Users endpoints
|
||||
static const String users = '/users';
|
||||
|
||||
Reference in New Issue
Block a user