refactor: auth

This commit is contained in:
cogwheel0
2025-08-29 12:58:56 +05:30
parent abc40b3958
commit f0b9e8e2b0
6 changed files with 73 additions and 34 deletions

View File

@@ -181,7 +181,7 @@ class _ConduitAppState extends ConsumerState<ConduitApp> {
hasSavedCredentialsProvider2.future,
);
if (hasCreds) {
await ref.read(silentLoginActionProvider)();
await ref.read(authActionsProvider).silentLogin();
}
} catch (_) {
// Ignore errors, fallback to showing unified page