Skip to content

Commit 641deb3

Browse files
committed
.
1 parent 0459256 commit 641deb3

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

app/Http/Controllers/UserController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public function edit(User $user)
6464
public function update(UserRequest $request, User $user)
6565
{
6666
$user->update(
67-
$request->merge(['password' => Hash::make($request->get('password'))])
68-
->except([$request->get('password') ? '' : 'password']
69-
));
67+
$request->merge(['password' => Hash::make($request -> get('password'))])
68+
-> except([$request->get('password') ? '' : 'password'])
69+
);
7070

7171
return redirect()->route('user.index')->withStatus(__('User successfully updated.'));
7272
}

resources/views/auth/login.blade.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
<h4 class="text-white">{{ __('Kickstart your Laravel web app like a PRO') }}</h2>
1212
<p class="text-lead text-light mt-3 mb-0"> {{ __('Log in and see how you can save more than 90 hours of work with CRUDs for managing: #users, #roles, #items, #categories, #tags and more.') }}</p>
1313
</div>
14-
<div class="d-flex justify-content-center">
15-
<div class="text-center">
16-
<h3 class="text-lead text-white mt-5 mb-0"> <strong> {{ __('You can log in with:') }}</strong></h3>
17-
<ol class="text-lead text-light mt-3 mb-0">
18-
<li> {{ __('Username [email protected] Password secret') }}</li>
19-
</ol>
20-
</div>
21-
</div>
22-
2314
</div>
2415
</div>
2516
<div class="container mt-5">

0 commit comments

Comments
 (0)