feat: Toggle to "Disable new IP Login authorization" emails in /admin (#1030)

Co-authored-by: Jiralite <[email protected]>
Co-authored-by: Hampus <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-07-01 20:38:59 +02:00
1 parent 4a518b8e68
commit 6fd7c027e3
10 files changed
+149 -44

No files matched your search

@@ -627,6 +627,9 @@ fn build_integrations_update(form: &MultiValueForm) -> InstanceConfigUpdateReque
password: clean("integration_smtp_password"),
secure: Some(form.bool_value("integration_smtp_secure")),
}),
disable_new_ip_authorization: Some(
form.bool_value("integration_email_disable_new_ip_authorization"),
),
}),
bluesky: Some(InstanceBlueskyIntegrationUpdateRequest {
enabled: Some(form.bool_value("integration_bluesky_enabled")),