1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Can get current admin id

This commit is contained in:
2021-05-11 17:17:52 +02:00
parent d8ec093786
commit ef0845f075
8 changed files with 70 additions and 4 deletions

View File

@@ -228,8 +228,7 @@ fn process_simple_route(route: &Route, req: &mut HttpRequestHandler) -> RequestR
req.check_admin_origin()?;
if route.need_login {
// TODO : implement
unimplemented!();
req.check_admin_access_token()?;
}
}
}