user(); if (!$user->attemptLogin($value)) { $fail(__('change_password_modal')['exception']['current_password']); } } }