don't show verify email has sent to when there are no valid verify tokens

This commit is contained in:
MaysWind
2023-09-17 18:01:10 +08:00
parent 92273d2fc6
commit 4cecc78a74
7 changed files with 34 additions and 8 deletions
+2 -1
View File
@@ -165,7 +165,8 @@ const router = createRouter({
component: VerifyEmailPage,
props: route => ({
email: route.query.email,
token: route.query.token
token: route.query.token,
hasValidEmailVerifyToken: route.query.emailSent === 'true'
})
},
{