diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-11-14 21:44:44 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-11-14 21:52:28 +0100 |
commit | 59627367ae4ba41c84f14e55ef4fe57c2924b7ab (patch) | |
tree | a1a7937912a1097c87ac164593ae5f4f64e130e5 /lib/user.php | |
parent | 4eff27ed421205d6627e96203e03516666125b70 (diff) | |
download | nextcloud-server-59627367ae4ba41c84f14e55ef4fe57c2924b7ab.tar.gz nextcloud-server-59627367ae4ba41c84f14e55ef4fe57c2924b7ab.zip |
Better check and handling of user creation
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 801ab7f608d..872fff9b2d9 100644 --- a/lib/user.php +++ b/lib/user.php @@ -182,7 +182,7 @@ class OC_User { $backend->createUser($uid, $password); OC_Hook::emit( "OC_User", "post_createUser", array( "uid" => $uid, "password" => $password )); - return true; + return self::userExists($uid); } } return false; |