From a0afa9f2e86902e0a144e6d11996bda3eae28f48 Mon Sep 17 00:00:00 2001 From: lea-mink <37537300+lea-mink@users.noreply.github.com> Date: Wed, 2 May 2018 23:40:41 +0200 Subject: [PATCH] Modified the affectation of the value of the password in credential mail sent for the first user sign up (#5446) * Modified the affectation of the value of the password * Remove e() --- app/Http/Controllers/SettingsController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {