protected function notTheName($parameter, $password)
    {
        $on = $parameter != 0;
        if ($on) {
            $lpwd = strtolower($password);

            if ((false !== strpos($lpwd, strtolower($this->user->getLoginName()))) || (null === $password)) {
                $this->_addError($this->translate->_('should not contain your login name'));
            }
        }
    }
protected function notTheName($parameter, $password)
    {
        $on = $parameter != 0;
        if ($on) {
            $lpwd = strtolower($password);

            if ((false !== strpos($lpwd, strtolower($this->user->getLoginName()))) || (null === $password)) {
                $this->_addError($this->translate->_('should not contain your login name'));
            }
        }
    }
protected function notTheName ( $ parameter , $ password ) { $ on = $ parameter != 0 ; if ( $ on ) { $ lpwd = strtolower ( $ password ) ; if ( ( false !== strpos ( $ lpwd , strtolower ( $ this -> user -> getLoginName ( ) ) ) ) || ( null === $ password ) ) { $ this -> _addError ( $ this -> translate -> _ ( 'should not contain your login name' ) ) ; } } }
The password should not contain the name of the user or the login name.

@param mixed $parameter
@param string $password
The password should not contain the name of the user or the login name .