mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 15:55:26 +02:00
improvements
This commit is contained in:
parent
79863a1205
commit
fddf025b08
@ -31,7 +31,7 @@ export default function VerifyEmailRoute(): ReactElement {
|
|||||||
const chars = serverSettings.email_verification_chars.split("")
|
const chars = serverSettings.email_verification_chars.split("")
|
||||||
return token.split("").every(chars.includes)
|
return token.split("").every(chars.includes)
|
||||||
})
|
})
|
||||||
const {error, loading} = useAsync(async () => {
|
const {loading} = useAsync(async () => {
|
||||||
await emailSchema.validate(email)
|
await emailSchema.validate(email)
|
||||||
await tokenSchema.validate(token)
|
await tokenSchema.validate(token)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user