fixed moodle logic
This commit is contained in:
@@ -5,6 +5,7 @@ import { DiscordAccount, prisma, User } from "@repo/db";
|
||||
import bcrypt from "bcryptjs";
|
||||
import oldUser from "./var.User.json";
|
||||
import { OldUser } from "../../../../types/oldUser";
|
||||
import { sendVerificationLink } from "(app)/admin/user/action";
|
||||
|
||||
export const options: AuthOptions = {
|
||||
providers: [
|
||||
@@ -69,6 +70,7 @@ export const options: AuthOptions = {
|
||||
},
|
||||
});
|
||||
}
|
||||
await sendVerificationLink(newUser.id);
|
||||
return newUser;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user