diff --git a/src/requests/register.cr b/src/requests/register.cr index 10ae01d..ca162b6 100644 --- a/src/requests/register.cr +++ b/src/requests/register.cr @@ -34,8 +34,8 @@ class AuthD::Request end # In this case we should not accept its registration. - if @password.size < 4 - return Response::Error.new "password too short" + if @password.size < 20 + return Response::Error.new "password too short (< 20 characters)" end uid = authd.new_uid