Skip to content

A free open source IT asset/license management system

Modified the affectation of the value of the password in credential mail sent for the first user sign up (#5446)

lea-minka0afa9f2e869
diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php
index 591de90d81..6c689554d5 100755
--- a/app/Http/Controllers/SettingsController.php
+++ b/app/Http/Controllers/SettingsController.php
@@ -192,8 +192,7 @@ class SettingsController extends Controller
$data['username'] = $user->username;
$data['first_name'] = $user->first_name;
$data['last_name'] = $user->last_name;
- $data['password'] = $user->password;
-
+ $data['password'] = $request->input('password');
$user->notify(new FirstAdminNotification($data));
/*Mail::send(['text' => 'emails.firstadmin'], $data, function ($m) use ($data) {