Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

363 B
Raw Blame
const localSignInPaths = new Set([
  "/sign-in/email",
  "/request-password-reset",
  "/reset-password",
  "/sign-in/magic-link",
  "/magic-link/verify",
  "/sign-in/email-otp",
]);

export function isLocalSignInPath(path: string) {
  return (
    localSignInPaths.has(path) ||
    path.startsWith("/email-otp/") ||
    path.startsWith("/reset-password/")
  );
}