diff --git a/src/authentication/user-authentication.ts b/src/authentication/user-authentication.ts index 3307269..a0c50c5 100644 --- a/src/authentication/user-authentication.ts +++ b/src/authentication/user-authentication.ts @@ -7,7 +7,7 @@ import { User } from "../models/users"; /** * Checks if user is authenticated * - If yes: go to next() - * - If no: redirect to /auth/login + * - If no: redirect to /auth/login */ export const isAuthenticated = ( req: Request,