Browse code

remove option obsolete in PHP 7

Hanno Böck authored on20/01/2021 12:56:14
Showing1 changed files
... ...
@@ -32,7 +32,6 @@ function strong_password($password, $user = array())
32 32
         curl_setopt($req, CURLOPT_TIMEOUT, 5);
33 33
         curl_setopt($req, CURLOPT_FOLLOWLOCATION, 0);
34 34
         curl_setopt($req, CURLOPT_POST, 1);
35
-        curl_setopt($req, CURLOPT_SAFE_UPLOAD, 1);
36 35
         curl_setopt($req, CURLOPT_POSTFIELDS, "password=".urlencode($password));
37 36
         $result = chop(curl_exec($req));
38 37
         DEBUG($result);