Revision ce76f299
Added by Jim Pingle about 6 years ago
src/usr/local/sbin/ovpn_auth_verify_async | ||
---|---|---|
33 | 33 |
# nas_port - $5 |
34 | 34 |
|
35 | 35 |
# ---------- Command Definitions |
36 |
fcgicli="/usr/local/sbin/fcgicli"
|
|
36 |
phpcgi="/usr/local/bin/php-cgi"
|
|
37 | 37 |
openssl="/usr/bin/openssl" |
38 | 38 |
sed="/usr/bin/sed" |
39 | 39 |
auth_user_php="/etc/inc/openvpn.auth-user.php" |
... | ... | |
64 | 64 |
auth_server_2="modeid=${modeid}&nas_port=${nas_port}" |
65 | 65 |
auth_args="${auth_credentials}&${auth_server_1}&${auth_server_2}" |
66 | 66 |
|
67 |
result=$("${fcgicli}" -f "${auth_user_php}" -d "${auth_args}")
|
|
67 |
result=$("${phpcgi}" -f "${auth_user_php}" "${auth_args}")
|
|
68 | 68 |
|
69 | 69 |
# ---------- Write the Result |
70 | 70 |
|
Also available in: Unified diff
Change ovpn_auth_verify_async to php-cgi. Fixes #9460