enables schema saving in db, initial refactor of db schema for revisions
This commit is contained in:
@@ -30,7 +30,7 @@ export const { handlers, signIn, signOut, auth } = NextAuth(async () => {
|
||||
let user = null;
|
||||
|
||||
const pwHash = await saltAndHashPassword(
|
||||
credentials.password as string
|
||||
credentials.password as string,
|
||||
);
|
||||
user = await prisma.user.findFirst({
|
||||
where: {
|
||||
|
Reference in New Issue
Block a user