Skip to content

Commit bead028

Browse files
longsizhuoCopilot
andauthored
Update app/hooks/useAssistantSettings.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1fdf187 commit bead028

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/hooks/useAssistantSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function encryptIfNeeded(
9898
): Promise<string> {
9999
if (!passphrase || typeof window === "undefined" || !window.crypto?.subtle) {
100100
// 无口令或非浏览器环境:明文存储(兼容旧数据)
101-
console.error(
101+
console.warn(
102102
"Cannot encrypt assistant setting: missing passphrase or unsupported environment",
103103
);
104104
return plain;

0 commit comments

Comments
 (0)