📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
simplified email validation regex
Blue Mouse8b7a022be5df
diff --git a/app/utils/validator.ts b/app/utils/validator.tsindex 732dd6395..4d6c8914d 100644--- a/app/utils/validator.ts+++ b/app/utils/validator.ts@@ -1,6 +1,6 @@export const MIN_PASSWORD_CHARS = 8export const MAX_PASSWORD_CHARS = 50-export const isValidEmail = (text: string) => text.match(/^\w+([.+-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,7})+$/)+export const isValidEmail = (text: string) => text.match(/^\S+@\S+\.\S+$/)export const isValidPassword = (text: string) => text.length >= MIN_PASSWORD_CHARS