Fix pint issues

This commit is contained in:
Bubka
2024-11-27 11:37:14 +01:00
parent e7ad0df6a3
commit 1fdedddd6b
5 changed files with 3 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ class TwoFAccountController extends Controller
$this->authorize('update', $twofaccount);
$validated = $request->validated();
$twofaccount->fillWithOtpParameters($validated, $twofaccount->icon && is_null(Arr::get($validated, 'icon', null)));
$request->user()->twofaccounts()->save($twofaccount);