dotdot-im / dotdot-im/dotdot

Validate usernames in the login form

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Just to avoid a server roundtrip, we can validate usernames in the frontend login form with the same RegEx that the backend uses:

```js
/^[A-Za-z0-9]+(?:[_][A-Za-z0-9]+)*_?$/i
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.