diff options
| author | MohamedBassem <me@mbassem.com> | 2024-09-22 02:17:43 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-09-22 02:17:43 +0100 |
| commit | 5fe330cd79be034e41f9c5181455e50e8c2fc5c1 (patch) | |
| tree | 6bedc00f3c6bb38f2132cd325be4df95eb819cf8 /apps/mobile/app/dashboard | |
| parent | 26521b70a79c42442f44c8053590bbb8c5e5f1b1 (diff) | |
| download | karakeep-5fe330cd79be034e41f9c5181455e50e8c2fc5c1.tar.zst | |
feature(mobile): Allow users to login with API keys in the mobile app
Diffstat (limited to 'apps/mobile/app/dashboard')
| -rw-r--r-- | apps/mobile/app/dashboard/_layout.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mobile/app/dashboard/_layout.tsx b/apps/mobile/app/dashboard/_layout.tsx index 22d1ed07..a1a25398 100644 --- a/apps/mobile/app/dashboard/_layout.tsx +++ b/apps/mobile/app/dashboard/_layout.tsx @@ -19,7 +19,7 @@ export default function Dashboard() { const isLoggedIn = useIsLoggedIn(); useEffect(() => { if (isLoggedIn !== undefined && !isLoggedIn) { - return router.replace("signin"); + return router.replace("server-address"); } }, [isLoggedIn]); |
