private function LoadValidators() { $this->page->RegisterValidator('currentpassword', new PasswordValidator($this->page->GetCurrentPassword(), $this->GetUser())); $this->page->RegisterValidator('passwordmatch', new EqualValidator($this->page->GetPassword(), $this->page->GetPasswordConfirmation())); $this->page->RegisterValidator('passwordcomplexity', new PasswordComplexityValidator($this->page->GetPassword())); }