forked from baron/baron-sso
대시보드 qr 페이지
This commit is contained in:
@@ -40,6 +40,11 @@ class _ApproveQrScreenState extends State<ApproveQrScreen> {
|
||||
_success = true;
|
||||
_message = "Login Approved! Your browser should now be logged in.";
|
||||
});
|
||||
|
||||
// Automatically go to dashboard after a short delay
|
||||
Future.delayed(const Duration(seconds: 1), () {
|
||||
if (mounted) context.go('/dashboard');
|
||||
});
|
||||
} catch (e) {
|
||||
setState(() => _message = "Error: $e");
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user