/**
* Save a new secure key for a customer to the database. This key is stored in the clients cookie and used
* to reauthenticate the customer.
*
* @author sl
* @param $customerId
* @param $keymai
*/
public function customer_loginSetKey($customerId, $keymai)
{
$p = $this->kga['server_prefix'];
$query = "UPDATE {$p}customers SET secure='{$keymai}' WHERE customerID='" . $this->conn->SQLFix($customerId) . "';";
$this->conn->Query($query);
}