summaryrefslogtreecommitdiff
path: root/doc/api/users.md
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-12-12 17:53:43 +0100
committerCyril <jv.cyril@gmail.com>2012-12-12 17:53:43 +0100
commit63d9373aa8722b69e7263f39af8e5194048b8b0d (patch)
treee87653e6e5850ebcb301922ab1050e5d0c59992f /doc/api/users.md
parent273c0d2aa3238aee213efab07f52b78eab1af64f (diff)
downloadgitlab-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/api/users.md')
-rw-r--r--doc/api/users.md2
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