diff --git a/crates/api/src/site/leave_admin.rs b/crates/api/src/site/leave_admin.rs index f25747ef3..77e28332b 100644 --- a/crates/api/src/site/leave_admin.rs +++ b/crates/api/src/site/leave_admin.rs @@ -35,6 +35,9 @@ pub async fn leave_admin( local_user_view.local_user.id, &LocalUserUpdateForm { admin: Some(false), + // Necessary because admins can bypass the registration applications (if they're turned on) + // but then won't be able to log in because they haven't been approved. + accepted_application: Some(true), ..Default::default() }, )