Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-28 15:33:38 +02:00
parent f86b52e236
commit 32c97accd7
8 changed files with 74 additions and 6 deletions

View File

@@ -162,6 +162,21 @@ class _AuthScreenState extends State<AuthScreen> {
),
),
),
if (state.isLoginMode) ...[
const SizedBox(height: 24),
TextButton(
onPressed: () => context
.read<AuthCubit>()
.requestPasswordReset(_emailController.text.trim()),
child: Text(
'Pw dimenticata/Invito scaduto?',
style: TextStyle(
color: context.accent,
fontWeight: FontWeight.bold,
),
),
),
],
],
),
),