MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / onLoginSuccess

Function onLoginSuccess

src/components/auth/AuthDialog.tsx:123–127  ·  view source on GitHub ↗
(userID: string)

Source from the content-addressed store, hash-verified

121 * @returns void
122 */
123 const onLoginSuccess = (userID: string) => {
124 logAnalyticsEvent("login", { method: "email" });
125 closeDialog();
126 redirectOnLogin(userID);
127 };
128
129 /**
130 * Callback function for when the user fails to log in

Callers

nothing calls this directly

Calls 3

logAnalyticsEventFunction · 0.90
redirectOnLoginFunction · 0.85
closeDialogFunction · 0.70

Tested by

no test coverage detected