parent
0467b7f04a
commit
90a5e82e72
1 changed files with 3 additions and 0 deletions
|
@ -5,5 +5,8 @@ use surrealdb::Session;
|
||||||
|
|
||||||
pub async fn clear(session: &mut Session) -> Result<(), Error> {
|
pub async fn clear(session: &mut Session) -> Result<(), Error> {
|
||||||
session.au = Arc::new(Auth::No);
|
session.au = Arc::new(Auth::No);
|
||||||
|
session.tk = None;
|
||||||
|
session.sc = None;
|
||||||
|
session.sd = None;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue