mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 01:02:04 +00:00
Add auth log
This commit is contained in:
parent
cafa83a083
commit
7b9aff87eb
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user