From 4046f76ebf57799bd8eaa0cfb06f99720f216a1a 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 eccc189..34cfe83 100644 --- a/includes/auth/auth.php +++ b/includes/auth/auth.php @@ -296,6 +296,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