added password reset - resend invite link
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -60,6 +60,17 @@ class StaffRepository {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> resetPasswordOrResendInviteLink(String email) async {
|
||||
try {
|
||||
await _supabase.auth.resetPasswordForEmail(
|
||||
email,
|
||||
redirectTo: 'https://flux-web-invite.marco-6ba.workers.dev/',
|
||||
);
|
||||
} catch (e) {
|
||||
throw Exception("Errore nell'invio del link: $e");
|
||||
}
|
||||
}
|
||||
|
||||
// --- LOGICA DI GIUNZIONE (Staff <-> Store) ---
|
||||
|
||||
// Recupera i membri assegnati a uno specifico negozio
|
||||
|
||||
Reference in New Issue
Block a user