gitlabhq/gitlabhq — pull request #5665 by archiloque (2013-11-22 21:47:51+00:00)
Title: Api: when password is too short return a 400 instead of a 404

Tried to make it generic for all attributes and in a way that can be easily propagated to other models if this approach is OK