feat: rename to Vibe; relax password policy
This commit is contained in:
@@ -49,8 +49,8 @@ func (h *apiHandler) register(w http.ResponseWriter, r *http.Request) {
|
||||
writeError(w, http.StatusBadRequest, "display_name must be 1-64 chars")
|
||||
return
|
||||
}
|
||||
if len(req.Password) < 8 || len(req.Password) > 128 {
|
||||
writeError(w, http.StatusBadRequest, "password must be 8-128 chars")
|
||||
if len(req.Password) == 0 || len(req.Password) > 128 {
|
||||
writeError(w, http.StatusBadRequest, "password must be 1-128 chars")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user