aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-09-10 15:27:37 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-09-10 15:27:37 +0100
commitdb4d17f1722d8b34f78b7959f32394f455c13f72 (patch)
treeb9e5a2a5fea007527d7040ad96ded73eddfeba18
parent2d2cf6d378d92aac31b3b09506bc6310466a0b07 (diff)
downloaddonetick-frontend-main.tar.gz
donetick-frontend-main.tar.bz2
donetick-frontend-main.zip
Change username minimum length to 1HEADmain
Diffstat (limited to '')
-rw-r--r--src/views/Authorization/Signup.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/views/Authorization/Signup.jsx b/src/views/Authorization/Signup.jsx
index 9e6cc70..67a9852 100644
--- a/src/views/Authorization/Signup.jsx
+++ b/src/views/Authorization/Signup.jsx
@@ -60,10 +60,6 @@ const SignupView = () => {
setUsernameError('Username is required')
isValid = false
}
- if (username.length < 4) {
- setUsernameError('Username must be at least 4 characters')
- isValid = false
- }
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
setEmailError('Invalid email address')
isValid = false