fix: handle unavailable browser cryptography

Detect insecure or unsupported browser contexts before account registration and show localized HTTPS guidance instead of leaking a SubtleCrypto runtime error.

Fixes #320
This commit is contained in:
shuaiplus committed 2026-07-23 00:54:52 +08:00
1 parent f761fffd58
commit 82d9f61163
15 files changed
+165 -22

No files matched your search

+1
View File
@@ -511,6 +511,7 @@ const fi: Record<string, string> = {
"txt_create_account": "Luo tili",
"txt_registering": "Luodaan tiliä...",
"txt_register_failed": "Rekisteröinti epäonnistui",
"txt_web_crypto_unavailable": "Selaimen suojattu salaus ei ole käytettävissä. Avaa NodeWarden HTTPS-yhteydellä tuetussa selaimessa.",
"txt_create_folder": "Luo kansio",
"txt_create_folder_failed": "Kansion luonti epäonnistui",
"txt_create_item_failed": "Nimikkeen luonti epäonnistui",