Feature/Auth: implement user authentication #3

Merged
homeburger merged 48 commits from feature/auth into main 2026-03-22 20:52:22 -05:00
Showing only changes of commit 31db3bc58c - Show all commits

View File

@@ -23,10 +23,12 @@ async function login(): Promise<void> {
const success: boolean = await authApi.login(user); const success: boolean = await authApi.login(user);
if(success) { if(success) {
router.push(""); // redirect router.push("/"); // redirect
} else { } else {
// prompt try again // prompt try again
} }
// TODO: interceptor for when a request returns unauthorized to redirect to login
// TODO: when redirected to login, save previous url as a query parameter then redirect back to that url after login
} }