From 4dc4be312c01729fd0dac2a4ea6fa10b481632f2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 14 Feb 2009 13:45:53 -0500 Subject: [PATCH] Generate a random password for new Bugdar users from the auth database * includes/auth/auth.php: (Authentication::_createBugdarUser): Generate a random password when inserting a new user --- includes/auth/auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/auth/auth.php b/includes/auth/auth.php index a253228..dfbac46 100644 --- a/includes/auth/auth.php +++ b/includes/auth/auth.php @@ -286,6 +286,7 @@ class Authentication $user->set($bugdar, $this->authUser["$authdb"]); } $user->set('usergroupid', 2); + $user->set('password', $this->registry->funct->rand()); $user->insert(); return $user->values; -- 2.43.5