mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +00:00
Add auth log
This commit is contained in:
parent
cafa83a083
commit
7b9aff87eb
@ -121,6 +121,8 @@ export const authOptions = {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("user in appConfig condition", user);
|
||||||
|
|
||||||
const updatedUser = await updateUser(user.id, {role: role.id});
|
const updatedUser = await updateUser(user.id, {role: role.id});
|
||||||
if (!updatedUser) {
|
if (!updatedUser) {
|
||||||
console.error("Failed to update user");
|
console.error("Failed to update user");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user