If anyone had any trouble registering on wikiverse, its because of this line of code. Sorry :P
```
if (!(/^[a-zA-Z0-9.\-_$@*!]{3,30}$/).test(password)) {
return c.json({ message: 'Password cannot contain spaces or newlines and must be at most 30 characters' }, 400)
}
```
what regex should i use for validifying passwords?
don't validate passwords. If a user has an insecure account, that's their problem.
ok