mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Add another auth log
This commit is contained in:
parent
9b614896ce
commit
3e1e369f1f
@ -106,6 +106,7 @@ export const authOptions = {
|
||||
|
||||
// todo this does not work on first login only the second time
|
||||
if (user && appConfig.authorPubkeys.includes(user?.pubkey) && !user?.role) {
|
||||
console.log("user in appConfig condition", user);
|
||||
// create a new author role for this user
|
||||
const role = await createRole({
|
||||
userId: user.id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user