summaryrefslogtreecommitdiff
path: root/inc/auth_plain.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth_plain.php')
-rw-r--r--inc/auth_plain.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/auth_plain.php b/inc/auth_plain.php
index 33b5e2374..93168a26f 100644
--- a/inc/auth_plain.php
+++ b/inc/auth_plain.php
@@ -64,13 +64,12 @@ function auth_getUserData($user){
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
-function auth_createUser($user,$name,$mail){
+function auth_createUser($user,$pass,$name,$mail){
global $conf;
$users = auth_plain_loadUserData();
if(isset($users[$user])) return false;
- $pass = auth_pwgen();
$userline = join(':',array($user,
md5($pass),
$name,