use crate::data::http_request_handler::HttpRequestHandler; use crate::controllers::routes::RequestResult; /// Account controller /// /// @author Pierre Hubert /// Sign in user pub fn login_user(request: &mut HttpRequestHandler) -> RequestResult { let email = request.post_email("userMail")?; let password = request.post_string_opt("userPassword", 3, true)?; // TODO : limit request // Authenticate user request.success("") }