mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 14:19:45 +00:00
Can delete group
This commit is contained in:
@@ -199,7 +199,7 @@ pub fn delete_account(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
r.forbidden("You shall not delete MY account (whoever you are, please note that hacking is bad !!!)".to_string())?;
|
||||
}
|
||||
|
||||
account_helper::delete(r.user_id_ref()?);
|
||||
account_helper::delete(r.user_id_ref()?)?;
|
||||
|
||||
r.success("Account deleted.")
|
||||
}
|
Reference in New Issue
Block a user