Add authentication #17

Manually merged
Webmaster merged 225 commits from auth into main 2025-03-08 10:37:06 +00:00
Showing only changes of commit f11bc34caf - Show all commits

View file

@ -368,6 +368,13 @@ import { Icon } from "astro-icon/components";
}`, }`,
"success", "success",
); );
// Log the check-in
await logger.send(
"check_in",
"events",
`User ${currentUser.name} (${currentUser.graduation_year}) checked in to event ${event.event_name}`,
);
} catch (error: any) { } catch (error: any) {
createToast(error?.message || "Failed to check in to event", "error"); createToast(error?.message || "Failed to check in to event", "error");
} }