mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-13 23:38:32 +02:00
Fix multiple issues detected by static analysis
This commit is contained in:
@ -54,7 +54,7 @@ class WebAuthnManageController extends Controller
|
||||
$validated = $request->validated();
|
||||
|
||||
$webAuthnCredential = WebAuthnCredential::where('id', $credential)->firstOrFail();
|
||||
$webAuthnCredential->name = $validated['name'];
|
||||
$webAuthnCredential->name = $validated['name']; // @phpstan-ignore-line
|
||||
$webAuthnCredential->save();
|
||||
|
||||
return response()->json([
|
||||
|
Reference in New Issue
Block a user