Révision abd3c8f4
Ajouté par Ermal il y a presque 10 ans
etc/inc/vpn.inc | ||
---|---|---|
709 | 709 |
switch ($ph1ent['authentication_method']) { |
710 | 710 |
case 'xauth_rsa_server': |
711 | 711 |
$authentication = "leftauth = pubkey\n\trightauth = pubkey"; |
712 |
$authentication .= "\n\leftauth2 = xauth-generic";
|
|
712 |
$authentication .= "\n\trightauth2 = xauth-generic";
|
|
713 | 713 |
break; |
714 | 714 |
case 'xauth_psk_server': |
715 | 715 |
$authentication = "leftauth = psk\n\trightauth = psk"; |
716 |
$authentication .= "\n\tleftauth2 = xauth-generic";
|
|
716 |
$authentication .= "\n\trightauth2 = xauth-generic";
|
|
717 | 717 |
break; |
718 | 718 |
case 'pre_shared_key': |
719 | 719 |
$authentication = "leftauth = psk\n\trightauth = psk"; |
Formats disponibles : Unified diff
Actually this should be rightauth2 since they should send the extra infor to be validated