mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Change ovpn_auth_verify_async to php-cgi. Fixes #9460
This commit is contained in:
parent
8800ee6f90
commit
ce76f29985
@ -33,7 +33,7 @@
|
||||
# nas_port - $5
|
||||
|
||||
# ---------- Command Definitions
|
||||
fcgicli="/usr/local/sbin/fcgicli"
|
||||
phpcgi="/usr/local/bin/php-cgi"
|
||||
openssl="/usr/bin/openssl"
|
||||
sed="/usr/bin/sed"
|
||||
auth_user_php="/etc/inc/openvpn.auth-user.php"
|
||||
@ -64,7 +64,7 @@ auth_server_1="cn=${common_name}&strictcn=${strictcn}&authcfg=${authcfg}"
|
||||
auth_server_2="modeid=${modeid}&nas_port=${nas_port}"
|
||||
auth_args="${auth_credentials}&${auth_server_1}&${auth_server_2}"
|
||||
|
||||
result=$("${fcgicli}" -f "${auth_user_php}" -d "${auth_args}")
|
||||
result=$("${phpcgi}" -f "${auth_user_php}" "${auth_args}")
|
||||
|
||||
# ---------- Write the Result
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user