Skip to content

Commit bdb590b

Browse files
authored
Merge pull request #266 from martenson/fix-einfra-group
fix cron adding to einfra group
2 parents d9fd4f0 + 895994e commit bdb590b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extra_scripts/add_group_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
for user in users:
1212
user_dict[user[0]] = user[3] # id is key, email is value
1313

14-
cursor.execute("SELECT * FROM custos_authnz_token")
14+
cursor.execute("SELECT * FROM oidc_user_authnz_tokens WHERE provider='e-infra_cz'")
1515
einfra_users = cursor.fetchall()
1616

1717
einfra_emails = []

0 commit comments

Comments
 (0)