Changes between Version 3 and Version 4 of login-service
- Timestamp:
- May 7, 2014, 4:14:17 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
login-service
v3 v4 26 26 '&password=' . urlencode($password) . '&app_id=' . $app_id; 27 27 $out = file_get_contents($url); 28 if($out == = "0") return TRUE;28 if($out == "yes") return TRUE; 29 29 return FALSE; 30 30 } … … 38 38 app_id="$3" 39 39 out=$(curl -s "https://members.mayfirst.org:8080/check?user=$user&password=$pass&app_id=$3") 40 [ "$out" = " 0" ] && exit 040 [ "$out" = "yes" ] && exit 0 41 41 exit 1 42 42 }}}