fixes
This commit is contained in:
@@ -171,7 +171,7 @@ async fn handle_socket(
|
||||
.unwrap_or(false);
|
||||
let password_ok = db::verify_workspace_password(&workspace, password.as_deref());
|
||||
if workspace.is_private != 0 && permission.is_none() && !anonymous_token_ok {
|
||||
let _ = send_error(&mut socket, "This workspace is private").await;
|
||||
let _ = send_error(&mut socket, "Workspace not found").await;
|
||||
return;
|
||||
}
|
||||
if workspace.password_hash.is_some()
|
||||
|
||||
Reference in New Issue
Block a user