diff --git a/GZCTF/ClientApp/src/pages/account/Confirm.tsx b/GZCTF/ClientApp/src/pages/account/Confirm.tsx
index 46c5fea1c..519a494a5 100644
--- a/GZCTF/ClientApp/src/pages/account/Confirm.tsx
+++ b/GZCTF/ClientApp/src/pages/account/Confirm.tsx
@@ -22,7 +22,7 @@ const Confirm: FC = () => {
showNotification({
color: 'teal',
title: '邮箱已验证',
- message: atob(email),
+ message: window.atob(email),
icon: ,
disallowClose: true,
})
diff --git a/GZCTF/ClientApp/src/pages/account/Verify.tsx b/GZCTF/ClientApp/src/pages/account/Verify.tsx
index 48a777426..ef8983936 100644
--- a/GZCTF/ClientApp/src/pages/account/Verify.tsx
+++ b/GZCTF/ClientApp/src/pages/account/Verify.tsx
@@ -22,7 +22,7 @@ const Verify: FC = () => {
showNotification({
color: 'teal',
title: '账户已验证,请登录',
- message: atob(email),
+ message: window.atob(email),
icon: ,
disallowClose: true,
})
@@ -50,7 +50,7 @@ const Verify: FC = () => {
return (
- 验证中……
+ 验证中……${Buffer.from('', 'base64')}
)
}