use auth bypass

This commit is contained in:
Quaternions 2024-12-19 17:51:16 -08:00
parent 6f3d3b170d
commit f1576076b5

View File

@ -836,7 +836,7 @@ async fn upload_scripts(session_id:PathBuf)->AResult<()>{
std::fs::File::open(session_id)?.read_to_string(&mut cookie)?; std::fs::File::open(session_id)?.read_to_string(&mut cookie)?;
submissions_api::Cookie::new(&cookie)? submissions_api::Cookie::new(&cookie)?
}; };
let api=&submissions_api::external::Context::new("http://localhost:8082".to_owned(),cookie)?; let api=&submissions_api::external::Context::new("http://localhost:8083".to_owned(),cookie)?;
let allowed_set=get_allowed_set()?; let allowed_set=get_allowed_set()?;
let allowed_map=get_allowed_map()?; let allowed_map=get_allowed_map()?;