diff --git a/covas_mobile/lib/pages/ForgotPassword.dart b/covas_mobile/lib/pages/ForgotPassword.dart index 1d6eb1d..8b57978 100644 --- a/covas_mobile/lib/pages/ForgotPassword.dart +++ b/covas_mobile/lib/pages/ForgotPassword.dart @@ -75,9 +75,6 @@ class _PasswordForgotState extends State with ShowAlertDialog { print(responsePost.statusCode); if (responsePost.statusCode == 200) { showAlertDialog(context, "Creation", "Un email a été envoyé à ${email}"); - sleep(Duration(seconds: 5)); - Navigator.pushReplacement( - context, MaterialPageRoute(builder: (_) => LoginDemo())); return; } @@ -110,7 +107,7 @@ class _PasswordForgotState extends State with ShowAlertDialog { return Scaffold( backgroundColor: Colors.white, appBar: AppBar( - title: Text("Create profile"), + title: Text("Mot de passe oublie"), backgroundColor: Colors.blue, foregroundColor: Colors.white, ), @@ -148,7 +145,7 @@ class _PasswordForgotState extends State with ShowAlertDialog { } }, child: Text( - 'Envoyer le mail de reinitialisation', + 'Envoyer le mail', style: TextStyle(color: Colors.white, fontSize: 25), ), ),