Skip to content

Commit

Permalink
LP-8 fix: user status update system error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Oct 1, 2023
1 parent 888475e commit fc98116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/AuthenticatedSessionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function store(LoginRequest $request): LoginResource|JsonResponse
if ($attemptUser->wrong_password > config('fintech.auth.threshold.password', 10)) {

\Fintech\Auth\Facades\Auth::user()->update($attemptUser->id, [
'status' => UserStatus::InActive->value,
'status' => UserStatus::InActive->value
]);

return $this->failed(__('auth::messages.lockup'));
Expand Down

0 comments on commit fc98116

Please sign in to comment.