refactor: login session (#3149)

This commit is contained in:
Nathan.fooo
2023-08-09 10:13:49 +08:00
committed by GitHub
parent 9330df4ce1
commit a5eaf15548
10 changed files with 236 additions and 139 deletions

View File

@ -616,6 +616,7 @@ impl UserSession {
user_id: uid,
user_workspace,
};
self.cloud_services.set_auth_type(AuthType::Local);
self.set_current_session(Some(session))?;
Ok(())
}