diff --git a/src/iam/clear.rs b/src/iam/clear.rs index 70ebf305..dac5e57d 100644 --- a/src/iam/clear.rs +++ b/src/iam/clear.rs @@ -5,5 +5,8 @@ use surrealdb::Session; pub async fn clear(session: &mut Session) -> Result<(), Error> { session.au = Arc::new(Auth::No); + session.tk = None; + session.sc = None; + session.sd = None; Ok(()) }