Protector->access("login",3) { if (!$login_sucessfull) $this->Protector->fail("login","5m"); } else { $this->flash("/","sorry you exeeded the amount of allowed trys, please come back in 5 minutes again"); } } } ?>