mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 18:20:17 +01:00
Corrections + admin full screen
This commit is contained in:
@@ -10,7 +10,7 @@ export default function usePasswordProtect(loginPath, redirectPath, loading, log
|
||||
redirect(loginPath);
|
||||
}
|
||||
if(loggedIn && !loading && path === loginPath) {
|
||||
redirect(redirectPath)
|
||||
redirect(redirectPath);
|
||||
}
|
||||
}, [loggedIn, loading, path]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user