* {"name"="username", "dataType"="string", "required"=true, "description"="username"}
* }
* )
- * @return string
+ * @return array
*/
public function getSaltAction($username)
{
throw $this->createNotFoundException();
}
- return array($user->getSalt());
+ return array($user->getSalt() ?: null);
}
/**
* Retrieve all entries. It could be filtered by many options.