[BE][Classroom] Log cookies from classroom login
This commit is contained in:
parent
31d7f0697c
commit
6e15f02f55
@ -261,6 +261,8 @@ async fn login() -> Result<(), String> {
|
|||||||
log::info!("classroom login: 302 response.");
|
log::info!("classroom login: 302 response.");
|
||||||
log_html(&html);
|
log_html(&html);
|
||||||
|
|
||||||
|
log::info!("classroom login cookies: {:?}", jar);
|
||||||
|
|
||||||
// check Set-Cookie header
|
// check Set-Cookie header
|
||||||
SESSION_COOKIE.write().unwrap().jar = jar.clone();
|
SESSION_COOKIE.write().unwrap().jar = jar.clone();
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user