Skip to content

Commit

Permalink
Hotfix. Make account name search exact match so it won't give false p…
Browse files Browse the repository at this point in the history
…ositive on partial match. E.g. "foo" must not match "foobar"
  • Loading branch information
jeremiahsmall committed Mar 8, 2013
1 parent 8953f2f commit 64cd39c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -156,7 +156,7 @@ public function authenticate()
$this->simpleFmValidateAdapter->setCredentials($this->credentials);

$command = array(
$this->accountNameField => self::escapeStringForFileMakerSearch($this->username),
$this->accountNameField => "==" . self::escapeStringForFileMakerSearch($this->username),
'-find' => NULL,
);
$this->simpleFmValidateAdapter->setCommandarray($command);
Expand Down

0 comments on commit 64cd39c

Please sign in to comment.