function loginPath
loginPath(path: string): string

Returns the /login path that comes back to path after signing in, a path on this site with its query.

Parameters

path: string

Return Type

string

Usage

import { loginPath } from "src/utils/auth/next.ts";