Fix multiple issues detected by static analysis

This commit is contained in:
Bubka
2022-09-07 17:54:27 +02:00
parent 46ef26e9dc
commit 2123250a5e
20 changed files with 77 additions and 58 deletions

View File

@ -29,7 +29,7 @@ class UserController extends Controller
}
if (!config('2fauth.config.isDemoApp') ) {
tap($user)->update([
$user->update([
'name' => $validated['name'],
'email' => $validated['email'],
]);