Prepend gpass- before protocol to recognize gpass servers

This commit is contained in:
Gregory Soutade 2013-11-17 09:24:04 +01:00
parent 37f22387bd
commit 637d74b8dd

View File

@ -39,7 +39,7 @@ $res = "";
$statement = $db->prepare("SELECT password FROM gpass WHERE login=:login"); $statement = $db->prepare("SELECT password FROM gpass WHERE login=:login");
echo "protocol=$PROTOCOL_VERSION\n"; echo "protocol=gpass-$PROTOCOL_VERSION\n";
for ($i=0; isset($_POST["k$i"]); $i++) for ($i=0; isset($_POST["k$i"]); $i++)
{ {