Skip to content

Commit

Permalink
✨ add randy (#1917)
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cj authored Nov 29, 2024
1 parent 56f3384 commit ea82ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/auth/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export async function find_or_create_user({ github_user }: Create_User) {
return user;
} else {
const new_user = await create_user({ github_user });
// if it's Wes or Scott. Upgrade that shit
if (['wesbos', 'stolinski', 'bl0om', 'benvinegar', 'w3cj'].includes(github_user.login)) {
// if it's syntax crew. Upgrade that shit
if (['wesbos', 'stolinski', 'bl0om', 'w3cj', 'randyrektor'].includes(github_user.login)) {
add_user_to_role(new_user.id, 'admin');
}
return new_user;
Expand Down

0 comments on commit ea82ebf

Please sign in to comment.