mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-24 21:26:02 +00:00
* Update to latest + refactoring. * idk, fuck it * Trying to make it work * add `next-auth` fixes (#211) Co-authored-by: Balázs Orbán <info@balazsorban.com> * Another one * test * bump `next` and `next-auth`, `bcrypt` -> `bcryptjs` * simplify * upgrade types * add basic html form validatoin * add zod validation * update * remove non next-auth changes * revert * revert * revert * revert * uses bcrypt * fix imports * tweaks * revert * revert * revert --------- Co-authored-by: Lee Robinson <lrobinson2011@gmail.com> Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
8 lines
214 B
TypeScript
8 lines
214 B
TypeScript
import NextAuth from 'next-auth';
|
|
import { authConfig } from './auth.config';
|
|
export default NextAuth(authConfig).auth;
|
|
|
|
export const config = {
|
|
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'],
|
|
};
|