diff options
author | Cyril <jv.cyril@gmail.com> | 2012-12-12 17:53:43 +0100 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-12-12 17:53:43 +0100 |
commit | 63d9373aa8722b69e7263f39af8e5194048b8b0d (patch) | |
tree | e87653e6e5850ebcb301922ab1050e5d0c59992f /doc | |
parent | 273c0d2aa3238aee213efab07f52b78eab1af64f (diff) | |
download | gitlab-ce-63d9373aa8722b69e7263f39af8e5194048b8b0d.tar.gz |
Validates presence of User#name
The 2 reasons are :
- creation of user fail if name is empty : in after_save, it tries to create a
namespace with namespace.name = user.name and namespece validates presence
Namespace#name
- in the web app links to team members are broken with empty User#name because
they are of the form <a href'...'> user.name </a>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/users.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index c116144d91e..e5674ab8463 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -75,7 +75,7 @@ POST /users Parameters: + `email` (required) - Email + `password` (required) - Password -+ `name` - Name ++ `name` (required) - Name + `skype` - Skype ID + `linkedin` - Linkedin + `twitter` - Twitter account |