aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/dashboard
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-09-22 02:17:43 +0100
committerMohamedBassem <me@mbassem.com>2024-09-22 02:17:43 +0100
commit5fe330cd79be034e41f9c5181455e50e8c2fc5c1 (patch)
tree6bedc00f3c6bb38f2132cd325be4df95eb819cf8 /apps/mobile/app/dashboard
parent26521b70a79c42442f44c8053590bbb8c5e5f1b1 (diff)
downloadkarakeep-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.tsx2
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]);