aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/createuser.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/createuser.php')
-rw-r--r--settings/ajax/createuser.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/settings/ajax/createuser.php b/settings/ajax/createuser.php
index 09ef25d92fa..56653bed6bd 100644
--- a/settings/ajax/createuser.php
+++ b/settings/ajax/createuser.php
@@ -26,12 +26,6 @@ if(OC_User::isAdminUser(OC_User::getUser())) {
$username = $_POST["username"];
$password = $_POST["password"];
-// Does the group exist?
-if(OC_User::userExists($username)) {
- OC_JSON::error(array("data" => array( "message" => "User already exists" )));
- exit();
-}
-
// Return Success story
try {
if (!OC_User::createUser($username, $password)) {