Update scripts/update-forge-fas-emails.py
This commit is contained in:
parent
3ec0825bfc
commit
b9a8a509f5
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ def update_forge_email(forge_session, username, new_email, forge_url, dry_run=Fa
|
|||
try:
|
||||
response = forge_session.patch(
|
||||
f'{forge_url}/api/v1/admin/users/{username}',
|
||||
json={'email': new_email}
|
||||
json={'active': True, 'email': new_email}
|
||||
)
|
||||
|
||||
if response.status_code == 200:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue