mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
minor correction
This commit is contained in:
1 parent
0ef5b97dfb
commit
bbbb4227e8
1 file changed
+3
-1
@@ -55,7 +55,9 @@ class ListMFAPage extends StatelessWidget {
|
||||
onPressed: () async {
|
||||
await supabase.auth.mfa.unenroll(factor.id);
|
||||
await supabase.auth.signOut();
|
||||
context.go(RegisterPage.route);
|
||||
if (context.mounted) {
|
||||
context.go(RegisterPage.route);
|
||||
}
|
||||
},
|
||||
child: const Text('delete'),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user