mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 05:19:21 +00:00
Did a TODO
This commit is contained in:
parent
14fa64a04b
commit
2bb6a48545
@ -94,7 +94,7 @@ pub async fn delete_auth_key(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
let key_id = r.post_u64("keyID")?;
|
||||
|
||||
if admin_id != r.admin_id()? {
|
||||
unimplemented!(); // TODO
|
||||
r.check_admin_has_role(AdminRole::MANAGE_ADMINS)?;
|
||||
}
|
||||
|
||||
for key in admin_account_key_helper::get_admin_keys(admin_id)? {
|
||||
|
Loading…
Reference in New Issue
Block a user