Skip to content

Commit a0afa9f

Browse files
lea-minksnipe
authored andcommitted
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()
1 parent 42f0eeb commit a0afa9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Http/Controllers/SettingsController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ public function postSaveFirstAdmin(SetupUserRequest $request)
192192
$data['username'] = $user->username;
193193
$data['first_name'] = $user->first_name;
194194
$data['last_name'] = $user->last_name;
195-
$data['password'] = $user->password;
196-
195+
$data['password'] = $request->input('password');
197196
$user->notify(new FirstAdminNotification($data));
198197

199198
/*Mail::send(['text' => 'emails.firstadmin'], $data, function ($m) use ($data) {

0 commit comments

Comments
 (0)