public function initialize()
 {
     parent::initialize();
     $this->declareParameter('login', Validate::NOTEMPTY);
     $this->declareParameter('password', Validate::NOTEMPTY);
     $this->passwordStash = new \NethServer\Tool\PasswordStash();
     $this->passwordStash->setAutoUnlink(TRUE);
 }
 public function process()
 {
     if ($this->getRequest()->isMutation()) {
         $this->stash->setAutoUnlink(FALSE);
         $this->getPlatform()->signalEvent('password-modify', array($this->userName, $this->stash->getFilePath()));
     }
 }