loginAttemptManager = $loginAttemptManager; } public function execute() { $this->loginAttemptManager->clear(); $this->messageManager->addSuccessMessage(__('Login Attempts Log has been successfully cleared.')); return $this->resultRedirectFactory->create()->setRefererUrl(); } }