diff --git a/routes/create_password.go b/routes/create_password.go index 0c57c73..3522e45 100644 --- a/routes/create_password.go +++ b/routes/create_password.go @@ -23,7 +23,7 @@ func CreatePassword(store storage.Store, maxLength int, encoding *base64.Encodin } if len(reqBody.Password) > maxLength { - http.Error(res, "Password too long", 413) // Payload Too Large + http.Error(res, "Password too long", http.StatusRequestEntityTooLarge) return }