Add auth log

This commit is contained in:
austinkelsay 2024-10-04 14:59:31 -05:00
parent cafa83a083
commit 7b9aff87eb

View File

@ -121,6 +121,8 @@ export const authOptions = {
return null;
}
console.log("user in appConfig condition", user);
const updatedUser = await updateUser(user.id, {role: role.id});
if (!updatedUser) {
console.error("Failed to update user");