Esempio n. 1
0
 /**
  * Logs each logout
  *
  * @Flow\Before("method(Roketi\Panel\Controller\LoginController->logoutAction())")
  * @return mixed
  */
 public function logLogout()
 {
     $this->loggingService->log('authentication', 'user_logged_out');
 }
Esempio n. 2
0
 /**
  * Logs deletion of a new domain
  *
  * @Flow\After("method(Roketi\Panel\Controller\DomainController->deleteAction())")
  * @return mixed
  */
 public function logDomainDeletion()
 {
     $this->loggingService->log('domain', 'domain_deleted');
 }